Skip to content

Commit 66425a8

Browse files
committed
Fix tests - old style check before dynamic user agent
1 parent b34ef94 commit 66425a8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/OpenTokTest/OpenTokTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,6 @@ public function testCreatesE2EESession(): void
258258
$authString = $request->getHeaderLine('X-OPENTOK-AUTH');
259259
$this->assertEquals(true, TestHelpers::validateOpenTokAuthHeader($this->API_KEY, $this->API_SECRET, $authString));
260260

261-
$userAgent = $request->getHeaderLine('User-Agent');
262-
$this->assertNotEmpty($userAgent);
263-
$this->assertStringStartsWith('OpenTok-PHP-SDK/4.12.0', $userAgent);
264-
265261
$p2p_preference = $this->getPostField($request, 'p2p.preference');
266262
$this->assertEquals('enabled', $p2p_preference);
267263

0 commit comments

Comments
 (0)