File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,8 @@ public function testAsyncTnLookup() {
224224
225225 public function testSyncTnLookup () {
226226 $ body = new BandwidthLib \PhoneNumberLookup \Models \CreateLookupRequest ();
227- $ body ->phoneNumbers = [getenv ("USER_NUMBER " )];
227+ // $body->phoneNumbers = [getenv("USER_NUMBER")];
228+ $ body ->phoneNumbers = ["+18174031662 " ];
228229 $ response = $ this ->bandwidthClient ->getPhoneNumberLookup ()->getClient ()->createSyncLookupRequest (getenv ("BW_ACCOUNT_ID " ), $ body );
229230 $ this ->assertInstanceOf (BandwidthLib \PhoneNumberLookup \Models \LookupResponse::class, $ response ->getResult ());
230231 $ this ->assertIsArray ($ response ->getResult ()->links );
@@ -240,6 +241,7 @@ public function testSyncTnLookup() {
240241 $ this ->assertIsString ($ response ->getResult ()->data ->results [0 ]->messagingProvider );
241242 $ this ->assertIsString ($ response ->getResult ()->data ->results [0 ]->voiceProvider );
242243 $ this ->assertIsString ($ response ->getResult ()->data ->results [0 ]->countryCodeA3 );
244+ $ this ->assertInstanceOf (\DateTime::class, $ response ->getResult ()->data ->results [0 ]->latestMessageDeliveryStatusDate );
243245 $ this ->assertIsArray ($ response ->getResult ()->errors );
244246 }
245247}
You can’t perform that action at this time.
0 commit comments