Skip to content

Commit 180f448

Browse files
committed
fix test
1 parent 6bd6cbb commit 180f448

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/ApiTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,9 @@ public function testSyncTnLookup() {
217217
$this->assertIsArray($response->getResult()->links);
218218
$this->assertInstanceOf(BandwidthLib\PhoneNumberLookup\Models\Link::class, $response->getResult()->links[0]);
219219
$this->assertInstanceOf(BandwidthLib\PhoneNumberLookup\Models\LookupResponseData::class, $response->getResult()->data);
220-
$this->assertIsString($createResponse->getResult()->data->requestId);
221-
$this->assertIsString($createResponse->getResult()->data->status);
220+
$this->assertIsString($response->getResult()->data->requestId);
221+
$this->assertIsString($response->getResult()->data->status);
222+
$this->assertEquals("COMPLETE", $response->getResult()->data->status);
222223
$this->assertIsArray($response->getResult()->data->results);
223224
$this->assertInstanceOf(BandwidthLib\PhoneNumberLookup\Models\LookupResult::class, $response->getResult()->data->results[0]);
224225
$this->assertIsString($response->getResult()->data->results[0]->phoneNumber);

0 commit comments

Comments
 (0)