Bug 1137093 - Part 09: Modify test case. r=hsinyi
authorSzu-Yu Chen [:aknow] <szchen@mozilla.com>
Tue, 24 Mar 2015 18:04:49 +0800
changeset 265894 00d5d6ee14a06325d35c41d0477857a8496ea786
parent 265893 f55f46bfd8a220152e4c5fa5ee8828184b1acec2
child 265895 db752db6d34a2a6c4214c5c060c56471fa8da7b5
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershsinyi
bugs1137093
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1137093 - Part 09: Modify test case. r=hsinyi
dom/telephony/test/marionette/test_outgoing_badNumber.js
--- a/dom/telephony/test/marionette/test_outgoing_badNumber.js
+++ b/dom/telephony/test/marionette/test_outgoing_badNumber.js
@@ -11,17 +11,17 @@ function testDialOutInvalidNumber() {
   log("Make an outCall call to an invalid number.");
 
   // Note: The number is valid from the view of phone and the call could be
   // dialed out successfully. However, it will later receive the BadNumberError
   // from network side.
   return telephony.dial(number).then(call => {
     outCall = call;
     ok(outCall);
-    is(outCall.id.number, number);
+    is(outCall.id.number, "");  // Emulator returns empty number for this call.
     is(outCall.state, "dialing");
 
     is(outCall, telephony.active);
     is(telephony.calls.length, 1);
     is(telephony.calls[0], outCall);
 
     return gWaitForEvent(outCall, "error").then(event => {
       is(event.call, outCall);