Skip to content

Commit b0ff222

Browse files
committed
fix: Regional API domain processing
1 parent 506048c commit b0ff222

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Twilio/Unit/Rest/ClientTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ public function testRegionInjectedWhenSet(): void {
128128
$network = new Holodeck();
129129
$client = new Client('username', 'password', null, 'ie1', $network);
130130
$client->request('POST', 'https://test.twilio.com/v1/Resources');
131+
$this->expectException();
131132
$expected = new Request('POST', 'https://test.ie1.twilio.com/v1/Resources');
132133
$this->assertTrue($network->hasRequest($expected));
133134
}

0 commit comments

Comments
 (0)