Skip to content

Commit df6cfa5

Browse files
committed
revert test
1 parent 56ac6bc commit df6cfa5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/ApiTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,7 @@ public function testAsyncTnLookup() {
224224

225225
public function testSyncTnLookup() {
226226
$body = new BandwidthLib\PhoneNumberLookup\Models\CreateLookupRequest();
227-
// $body->phoneNumbers = [getenv("USER_NUMBER")];
228-
$body->phoneNumbers = ["+18174031662"];
227+
$body->phoneNumbers = [getenv("USER_NUMBER")];
229228
$response = $this->bandwidthClient->getPhoneNumberLookup()->getClient()->createSyncLookupRequest(getenv("BW_ACCOUNT_ID"), $body);
230229
$this->assertInstanceOf(BandwidthLib\PhoneNumberLookup\Models\LookupResponse::class, $response->getResult());
231230
$this->assertIsArray($response->getResult()->links);
@@ -241,7 +240,6 @@ public function testSyncTnLookup() {
241240
$this->assertIsString($response->getResult()->data->results[0]->messagingProvider);
242241
$this->assertIsString($response->getResult()->data->results[0]->voiceProvider);
243242
$this->assertIsString($response->getResult()->data->results[0]->countryCodeA3);
244-
$this->assertInstanceOf(\DateTime::class, $response->getResult()->data->results[0]->latestMessageDeliveryStatusDate);
245243
$this->assertIsArray($response->getResult()->errors);
246244
}
247245
}

0 commit comments

Comments
 (0)