@@ -124,7 +124,7 @@ public function testCreatesDefaultSession()
124124 // TODO: test the dynamically built User Agent string
125125 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
126126 $ this ->assertNotEmpty ($ userAgent );
127- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
127+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
128128
129129 $ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
130130 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -184,7 +184,7 @@ public function testCreatesMediaRoutedAndLocationSession()
184184 // TODO: test the dynamically built User Agent string
185185 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
186186 $ this ->assertNotEmpty ($ userAgent );
187- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
187+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
188188
189189 $ location = $ this ->getPostField ($ request , 'location ' );
190190 $ this ->assertEquals ('12.34.56.78 ' , $ location );
@@ -232,7 +232,7 @@ public function testCreatesMediaRelayedSession()
232232 // TODO: test the dynamically built User Agent string
233233 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
234234 $ this ->assertNotEmpty ($ userAgent );
235- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
235+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
236236
237237 $ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
238238 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -277,7 +277,7 @@ public function testCreatesAutoArchivedSession()
277277 // TODO: test the dynamically built User Agent string
278278 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
279279 $ this ->assertNotEmpty ($ userAgent );
280- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
280+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
281281
282282 $ archiveMode = $ this ->getPostField ($ request , 'archiveMode ' );
283283 $ this ->assertEquals ('always ' , $ archiveMode );
@@ -483,7 +483,7 @@ public function testStartsArchive()
483483 // TODO: test the dynamically built User Agent string
484484 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
485485 $ this ->assertNotEmpty ($ userAgent );
486- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
486+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
487487
488488 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
489489 $ this ->assertEquals (0 , $ archive ->duration );
@@ -533,7 +533,7 @@ public function testStartsArchiveNamed()
533533 // TODO: test the dynamically built User Agent string
534534 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
535535 $ this ->assertNotEmpty ($ userAgent );
536- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
536+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
537537
538538 $ body = json_decode ($ request ->getBody ());
539539 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -581,7 +581,7 @@ public function testStartsArchiveNamedDeprecated()
581581 // TODO: test the dynamically built User Agent string
582582 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
583583 $ this ->assertNotEmpty ($ userAgent );
584- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
584+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
585585
586586 $ body = json_decode ($ request ->getBody ());
587587 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -628,7 +628,7 @@ public function testStartsArchiveAudioOnly()
628628 // TODO: test the dynamically built User Agent string
629629 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
630630 $ this ->assertNotEmpty ($ userAgent );
631- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
631+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
632632
633633 $ body = json_decode ($ request ->getBody ());
634634 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -678,7 +678,7 @@ public function testStartsArchiveIndividualOutput()
678678 // TODO: test the dynamically built User Agent string
679679 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
680680 $ this ->assertNotEmpty ($ userAgent );
681- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
681+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
682682
683683 $ body = json_decode ($ request ->getBody ());
684684 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -727,7 +727,7 @@ public function testStartsArchiveResolutionSD()
727727 // TODO: test the dynamically built User Agent string
728728 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
729729 $ this ->assertNotEmpty ($ userAgent );
730- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
730+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
731731
732732 $ body = json_decode ($ request ->getBody ());
733733 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -775,7 +775,7 @@ public function testStartsArchiveResolutionHD()
775775 // TODO: test the dynamically built User Agent string
776776 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
777777 $ this ->assertNotEmpty ($ userAgent );
778- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
778+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
779779
780780 $ body = json_decode ($ request ->getBody ());
781781 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -819,7 +819,7 @@ public function testStopsArchive()
819819 // TODO: test the dynamically built User Agent string
820820 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
821821 $ this ->assertNotEmpty ($ userAgent );
822- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
822+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
823823
824824 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
825825 // TODO: test the properties of the actual archive object
@@ -858,7 +858,7 @@ public function testGetsArchive()
858858 // TODO: test the dynamically built User Agent string
859859 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
860860 $ this ->assertNotEmpty ($ userAgent );
861- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
861+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
862862
863863 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
864864 // TODO: test the properties of the actual archive object
@@ -895,7 +895,7 @@ public function testDeletesArchive()
895895 // TODO: test the dynamically built User Agent string
896896 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
897897 $ this ->assertNotEmpty ($ userAgent );
898- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
898+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
899899
900900 $ this ->assertTrue ($ success );
901901 // TODO: test the properties of the actual archive object
@@ -930,7 +930,7 @@ public function testListsArchives()
930930 // TODO: test the dynamically built User Agent string
931931 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
932932 $ this ->assertNotEmpty ($ userAgent );
933- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
933+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
934934
935935 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
936936 // TODO: test the properties of the actual archiveList object and its contained archive
@@ -966,7 +966,7 @@ public function testListsArchivesWithOffsetAndCount()
966966 // TODO: test the dynamically built User Agent string
967967 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
968968 $ this ->assertNotEmpty ($ userAgent );
969- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
969+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
970970
971971 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
972972 $ this ->assertEquals (1 , $ archiveList ->totalCount ());
@@ -1051,7 +1051,7 @@ public function testForceDisconnect()
10511051 // TODO: test the dynamically built User Agent string
10521052 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
10531053 $ this ->assertNotEmpty ($ userAgent );
1054- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1054+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
10551055
10561056 $ this ->assertTrue ($ success );
10571057 }
@@ -1093,7 +1093,7 @@ public function testStartsBroadcast()
10931093 // TODO: test the dynamically built User Agent string
10941094 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
10951095 $ this ->assertNotEmpty ($ userAgent );
1096- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1096+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
10971097
10981098 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
10991099 $ this ->assertInternalType ('string ' , $ broadcast ->id );
@@ -1138,7 +1138,7 @@ public function testStopsBroadcast()
11381138 // TODO: test the dynamically built User Agent string
11391139 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
11401140 $ this ->assertNotEmpty ($ userAgent );
1141- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1141+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
11421142
11431143 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
11441144 $ this ->assertTrue ($ broadcast ->isStopped );
@@ -1175,7 +1175,7 @@ public function testGetsBroadcast()
11751175 // TODO: test the dynamically built User Agent string
11761176 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
11771177 $ this ->assertNotEmpty ($ userAgent );
1178- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1178+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
11791179
11801180 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
11811181 }
@@ -1219,7 +1219,7 @@ public function testUpdatesBroadcastLayoutWithPredefined()
12191219 // TODO: test the dynamically built User Agent string
12201220 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
12211221 $ this ->assertNotEmpty ($ userAgent );
1222- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1222+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
12231223 }
12241224
12251225 public function testUpdatesBroadcastLayoutWithCustom ()
@@ -1265,7 +1265,7 @@ public function testUpdatesBroadcastLayoutWithCustom()
12651265 // TODO: test the dynamically built User Agent string
12661266 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
12671267 $ this ->assertNotEmpty ($ userAgent );
1268- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1268+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
12691269 }
12701270
12711271 public function testUpdatesStreamLayoutClassList ()
@@ -1310,7 +1310,7 @@ public function testUpdatesStreamLayoutClassList()
13101310 // TODO: test the dynamically built User Agent string
13111311 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
13121312 $ this ->assertNotEmpty ($ userAgent );
1313- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.0.1-alpha.1 ' , $ userAgent );
1313+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.1.0 ' , $ userAgent );
13141314 }
13151315
13161316
0 commit comments