@@ -126,7 +126,7 @@ public function testCreatesDefaultSession()
126126 // TODO: test the dynamically built User Agent string
127127 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
128128 $ this ->assertNotEmpty ($ userAgent );
129- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
129+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
130130
131131 $ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
132132 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -186,7 +186,7 @@ public function testCreatesMediaRoutedAndLocationSession()
186186 // TODO: test the dynamically built User Agent string
187187 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
188188 $ this ->assertNotEmpty ($ userAgent );
189- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
189+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
190190
191191 $ location = $ this ->getPostField ($ request , 'location ' );
192192 $ this ->assertEquals ('12.34.56.78 ' , $ location );
@@ -234,7 +234,7 @@ public function testCreatesMediaRelayedSession()
234234 // TODO: test the dynamically built User Agent string
235235 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
236236 $ this ->assertNotEmpty ($ userAgent );
237- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
237+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
238238
239239 $ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
240240 $ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -279,7 +279,7 @@ public function testCreatesAutoArchivedSession()
279279 // TODO: test the dynamically built User Agent string
280280 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
281281 $ this ->assertNotEmpty ($ userAgent );
282- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
282+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
283283
284284 $ archiveMode = $ this ->getPostField ($ request , 'archiveMode ' );
285285 $ this ->assertEquals ('always ' , $ archiveMode );
@@ -521,7 +521,7 @@ public function testStartsArchive()
521521 // TODO: test the dynamically built User Agent string
522522 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
523523 $ this ->assertNotEmpty ($ userAgent );
524- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
524+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
525525
526526 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
527527 $ this ->assertEquals (0 , $ archive ->duration );
@@ -571,7 +571,7 @@ public function testStartsArchiveNamed()
571571 // TODO: test the dynamically built User Agent string
572572 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
573573 $ this ->assertNotEmpty ($ userAgent );
574- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
574+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
575575
576576 $ body = json_decode ($ request ->getBody ());
577577 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -619,7 +619,7 @@ public function testStartsArchiveNamedDeprecated()
619619 // TODO: test the dynamically built User Agent string
620620 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
621621 $ this ->assertNotEmpty ($ userAgent );
622- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
622+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
623623
624624 $ body = json_decode ($ request ->getBody ());
625625 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -666,7 +666,7 @@ public function testStartsArchiveAudioOnly()
666666 // TODO: test the dynamically built User Agent string
667667 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
668668 $ this ->assertNotEmpty ($ userAgent );
669- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
669+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
670670
671671 $ body = json_decode ($ request ->getBody ());
672672 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -716,7 +716,7 @@ public function testStartsArchiveIndividualOutput()
716716 // TODO: test the dynamically built User Agent string
717717 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
718718 $ this ->assertNotEmpty ($ userAgent );
719- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
719+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
720720
721721 $ body = json_decode ($ request ->getBody ());
722722 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -765,7 +765,7 @@ public function testStartsArchiveResolutionSD()
765765 // TODO: test the dynamically built User Agent string
766766 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
767767 $ this ->assertNotEmpty ($ userAgent );
768- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
768+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
769769
770770 $ body = json_decode ($ request ->getBody ());
771771 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -813,7 +813,7 @@ public function testStartsArchiveResolutionHD()
813813 // TODO: test the dynamically built User Agent string
814814 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
815815 $ this ->assertNotEmpty ($ userAgent );
816- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
816+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
817817
818818 $ body = json_decode ($ request ->getBody ());
819819 $ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -857,7 +857,7 @@ public function testStopsArchive()
857857 // TODO: test the dynamically built User Agent string
858858 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
859859 $ this ->assertNotEmpty ($ userAgent );
860- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
860+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
861861
862862 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
863863 // TODO: test the properties of the actual archive object
@@ -896,7 +896,7 @@ public function testGetsArchive()
896896 // TODO: test the dynamically built User Agent string
897897 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
898898 $ this ->assertNotEmpty ($ userAgent );
899- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
899+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
900900
901901 $ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
902902 // TODO: test the properties of the actual archive object
@@ -933,7 +933,7 @@ public function testDeletesArchive()
933933 // TODO: test the dynamically built User Agent string
934934 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
935935 $ this ->assertNotEmpty ($ userAgent );
936- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
936+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
937937
938938 $ this ->assertTrue ($ success );
939939 // TODO: test the properties of the actual archive object
@@ -968,7 +968,7 @@ public function testListsArchives()
968968 // TODO: test the dynamically built User Agent string
969969 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
970970 $ this ->assertNotEmpty ($ userAgent );
971- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
971+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
972972
973973 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
974974 // TODO: test the properties of the actual archiveList object and its contained archive
@@ -1004,7 +1004,7 @@ public function testListsArchivesWithOffsetAndCount()
10041004 // TODO: test the dynamically built User Agent string
10051005 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
10061006 $ this ->assertNotEmpty ($ userAgent );
1007- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1007+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
10081008
10091009 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
10101010 $ this ->assertEquals (1 , $ archiveList ->totalCount ());
@@ -1045,7 +1045,7 @@ public function testListsArchivesWithSessionId()
10451045 // TODO: test the dynamically built User Agent string
10461046 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
10471047 $ this ->assertNotEmpty ($ userAgent );
1048- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1048+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
10491049
10501050 $ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
10511051 $ this ->assertEquals (2 , $ archiveList ->totalCount ());
@@ -1131,7 +1131,7 @@ public function testForceDisconnect()
11311131 // TODO: test the dynamically built User Agent string
11321132 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
11331133 $ this ->assertNotEmpty ($ userAgent );
1134- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1134+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
11351135
11361136 $ this ->assertTrue ($ success );
11371137 }
@@ -1192,7 +1192,7 @@ public function testStartsBroadcast()
11921192 // TODO: test the dynamically built User Agent string
11931193 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
11941194 $ this ->assertNotEmpty ($ userAgent );
1195- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1195+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
11961196
11971197 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
11981198 $ this ->assertInternalType ('string ' , $ broadcast ->id );
@@ -1237,7 +1237,7 @@ public function testStopsBroadcast()
12371237 // TODO: test the dynamically built User Agent string
12381238 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
12391239 $ this ->assertNotEmpty ($ userAgent );
1240- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1240+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
12411241
12421242 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
12431243 $ this ->assertTrue ($ broadcast ->isStopped );
@@ -1274,7 +1274,7 @@ public function testGetsBroadcast()
12741274 // TODO: test the dynamically built User Agent string
12751275 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
12761276 $ this ->assertNotEmpty ($ userAgent );
1277- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1277+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
12781278
12791279 $ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
12801280 }
@@ -1318,7 +1318,7 @@ public function testUpdatesBroadcastLayoutWithPredefined()
13181318 // TODO: test the dynamically built User Agent string
13191319 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
13201320 $ this ->assertNotEmpty ($ userAgent );
1321- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1321+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
13221322 }
13231323
13241324 public function testUpdatesBroadcastLayoutWithCustom ()
@@ -1364,7 +1364,7 @@ public function testUpdatesBroadcastLayoutWithCustom()
13641364 // TODO: test the dynamically built User Agent string
13651365 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
13661366 $ this ->assertNotEmpty ($ userAgent );
1367- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1367+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
13681368 }
13691369
13701370 public function testUpdatesStreamLayoutClassList ()
@@ -1409,7 +1409,7 @@ public function testUpdatesStreamLayoutClassList()
14091409 // TODO: test the dynamically built User Agent string
14101410 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
14111411 $ this ->assertNotEmpty ($ userAgent );
1412- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1412+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
14131413 }
14141414
14151415 public function testGetStream ()
@@ -1448,7 +1448,7 @@ public function testGetStream()
14481448
14491449 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
14501450 $ this ->assertNotEmpty ($ userAgent );
1451- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1451+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
14521452 }
14531453
14541454 public function testSipCall ()
@@ -1616,7 +1616,7 @@ public function testSignalData()
16161616 // TODO: test the dynamically built User Agent string
16171617 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
16181618 $ this ->assertNotEmpty ($ userAgent );
1619- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1619+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
16201620
16211621 $ body = json_decode ($ request ->getBody ());
16221622 $ this ->assertEquals ('apple ' , $ body ->data );
@@ -1658,7 +1658,7 @@ public function testSignalWithConnectionId()
16581658 // TODO: test the dynamically built User Agent string
16591659 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
16601660 $ this ->assertNotEmpty ($ userAgent );
1661- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1661+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
16621662
16631663 $ body = json_decode ($ request ->getBody ());
16641664 $ this ->assertEquals ('random message ' , $ body ->data );
@@ -1769,7 +1769,7 @@ public function testListStreams()
17691769 // TODO: test the dynamically built User Agent string
17701770 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
17711771 $ this ->assertNotEmpty ($ userAgent );
1772- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1772+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
17731773
17741774 $ this ->assertInstanceOf ('OpenTok\StreamList ' , $ streamList );
17751775
@@ -1813,7 +1813,7 @@ public function testsSetArchiveLayoutWithPredefined()
18131813 // TODO: test the dynamically built User Agent string
18141814 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
18151815 $ this ->assertNotEmpty ($ userAgent );
1816- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1816+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
18171817 }
18181818
18191819 public function testsSetArchiveLayoutWithCustom ()
@@ -1859,7 +1859,7 @@ public function testsSetArchiveLayoutWithCustom()
18591859 // TODO: test the dynamically built User Agent string
18601860 $ userAgent = $ request ->getHeaderLine ('User-Agent ' );
18611861 $ this ->assertNotEmpty ($ userAgent );
1862- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.2.1-alpha.1 ' , $ userAgent );
1862+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.3.0 ' , $ userAgent );
18631863 }
18641864
18651865}
0 commit comments