@@ -84,7 +84,7 @@ public function testCreatesDefaultSession()
8484 // TODO: test the dynamically built User Agent string
8585 $ userAgent = $ request ->getHeader ('User-Agent ' );
8686 $ this ->assertNotEmpty ($ userAgent );
87- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
87+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
8888
8989 $ p2p_preference = $ request ->getPostField ('p2p.preference ' );
9090 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -131,7 +131,7 @@ public function testCreatesMediaRoutedAndLocationSession()
131131 // TODO: test the dynamically built User Agent string
132132 $ userAgent = $ request ->getHeader ('User-Agent ' );
133133 $ this ->assertNotEmpty ($ userAgent );
134- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
134+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
135135
136136 $ location = $ request ->getPostField ('location ' );
137137 $ this ->assertEquals ('12.34.56.78 ' , $ location );
@@ -180,7 +180,7 @@ public function testCreatesMediaRelayedSession()
180180 // TODO: test the dynamically built User Agent string
181181 $ userAgent = $ request ->getHeader ('User-Agent ' );
182182 $ this ->assertNotEmpty ($ userAgent );
183- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
183+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
184184
185185 $ p2p_preference = $ request ->getPostField ('p2p.preference ' );
186186 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -358,7 +358,7 @@ public function testStartsArchive()
358358 // TODO: test the dynamically built User Agent string
359359 $ userAgent = $ request ->getHeader ('User-Agent ' );
360360 $ this ->assertNotEmpty ($ userAgent );
361- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
361+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
362362
363363 $ body = json_decode ($ request ->getBody ());
364364 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -404,7 +404,7 @@ public function testStopsArchive()
404404 // TODO: test the dynamically built User Agent string
405405 $ userAgent = $ request ->getHeader ('User-Agent ' );
406406 $ this ->assertNotEmpty ($ userAgent );
407- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
407+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
408408
409409 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
410410 // TODO: test the properties of the actual archive object
@@ -444,7 +444,7 @@ public function testGetsArchive()
444444 // TODO: test the dynamically built User Agent string
445445 $ userAgent = $ request ->getHeader ('User-Agent ' );
446446 $ this ->assertNotEmpty ($ userAgent );
447- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
447+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
448448
449449 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
450450 // TODO: test the properties of the actual archive object
@@ -486,7 +486,7 @@ public function testDeletesArchive()
486486 // TODO: test the dynamically built User Agent string
487487 $ userAgent = $ request ->getHeader ('User-Agent ' );
488488 $ this ->assertNotEmpty ($ userAgent );
489- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
489+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
490490
491491 $ this ->assertTrue ($ success );
492492 // TODO: test the properties of the actual archive object
@@ -522,7 +522,7 @@ public function testListsArchives()
522522 // TODO: test the dynamically built User Agent string
523523 $ userAgent = $ request ->getHeader ('User-Agent ' );
524524 $ this ->assertNotEmpty ($ userAgent );
525- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3-alpha.1 ' , $ userAgent ->__toString ());
525+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/2.2.3 ' , $ userAgent ->__toString ());
526526
527527 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
528528 // TODO: test the properties of the actual archiveList object and its contained archive
0 commit comments