@@ -228,7 +228,7 @@ public function testCreatesAutoArchivedSession()
228228 // TODO: test the dynamically built User Agent string
229229 $ userAgent = $ request ->getHeader ('User-Agent ' );
230230 $ this ->assertNotEmpty ($ userAgent );
231- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 -alpha.1 ' , $ userAgent ->__toString ());
231+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.4 -alpha.1 ' , $ userAgent ->__toString ());
232232
233233 $ archiveMode = $ request ->getPostField ('archiveMode ' );
234234 $ this ->assertEquals ('always ' , $ archiveMode );
@@ -425,7 +425,7 @@ public function testStartsArchive()
425425 // TODO: test the dynamically built User Agent string
426426 $ userAgent = $ request ->getHeader ('User-Agent ' );
427427 $ this ->assertNotEmpty ($ userAgent );
428- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 -alpha.1 ' , $ userAgent ->__toString ());
428+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.4 -alpha.1 ' , $ userAgent ->__toString ());
429429
430430 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
431431 $ this ->assertEquals (0 , $ archive ->duration );
@@ -476,7 +476,7 @@ public function testStartsArchiveNamed()
476476 // TODO: test the dynamically built User Agent string
477477 $ userAgent = $ request ->getHeader ('User-Agent ' );
478478 $ this ->assertNotEmpty ($ userAgent );
479- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 -alpha.1 ' , $ userAgent ->__toString ());
479+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.4 -alpha.1 ' , $ userAgent ->__toString ());
480480
481481 $ body = json_decode ($ request ->getBody ());
482482 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -573,7 +573,7 @@ public function testStartsArchiveAudioOnly()
573573 // TODO: test the dynamically built User Agent string
574574 $ userAgent = $ request ->getHeader ('User-Agent ' );
575575 $ this ->assertNotEmpty ($ userAgent );
576- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 -alpha.1 ' , $ userAgent ->__toString ());
576+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.4 -alpha.1 ' , $ userAgent ->__toString ());
577577
578578 $ body = json_decode ($ request ->getBody ());
579579 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -624,7 +624,7 @@ public function testStartsArchiveIndividualOutput()
624624 // TODO: test the dynamically built User Agent string
625625 $ userAgent = $ request ->getHeader ('User-Agent ' );
626626 $ this ->assertNotEmpty ($ userAgent );
627- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 -alpha.1 ' , $ userAgent ->__toString ());
627+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.4 -alpha.1 ' , $ userAgent ->__toString ());
628628
629629 $ body = json_decode ($ request ->getBody ());
630630 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
0 commit comments