@@ -136,7 +136,7 @@ public function testCreatesDefaultSession()
136
136
// TODO: test the dynamically built User Agent string
137
137
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
138
138
$ this ->assertNotEmpty ($ userAgent );
139
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
139
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
140
140
141
141
$ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
142
142
$ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -196,7 +196,7 @@ public function testCreatesMediaRoutedAndLocationSession()
196
196
// TODO: test the dynamically built User Agent string
197
197
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
198
198
$ this ->assertNotEmpty ($ userAgent );
199
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
199
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
200
200
201
201
$ location = $ this ->getPostField ($ request , 'location ' );
202
202
$ this ->assertEquals ('12.34.56.78 ' , $ location );
@@ -244,7 +244,7 @@ public function testCreatesMediaRelayedSession()
244
244
// TODO: test the dynamically built User Agent string
245
245
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
246
246
$ this ->assertNotEmpty ($ userAgent );
247
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
247
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
248
248
249
249
$ p2p_preference = $ this ->getPostField ($ request , 'p2p.preference ' );
250
250
$ this ->assertEquals ('enabled ' , $ p2p_preference );
@@ -289,7 +289,7 @@ public function testCreatesAutoArchivedSession()
289
289
// TODO: test the dynamically built User Agent string
290
290
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
291
291
$ this ->assertNotEmpty ($ userAgent );
292
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
292
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
293
293
294
294
$ archiveMode = $ this ->getPostField ($ request , 'archiveMode ' );
295
295
$ this ->assertEquals ('always ' , $ archiveMode );
@@ -527,7 +527,7 @@ public function testStartsArchive()
527
527
// TODO: test the dynamically built User Agent string
528
528
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
529
529
$ this ->assertNotEmpty ($ userAgent );
530
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
530
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
531
531
532
532
$ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
533
533
$ this ->assertEquals (0 , $ archive ->duration );
@@ -577,7 +577,7 @@ public function testStartsArchiveNamed()
577
577
// TODO: test the dynamically built User Agent string
578
578
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
579
579
$ this ->assertNotEmpty ($ userAgent );
580
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
580
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
581
581
582
582
$ body = json_decode ($ request ->getBody ());
583
583
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -628,7 +628,7 @@ public function testStartsArchiveNamedDeprecated()
628
628
// TODO: test the dynamically built User Agent string
629
629
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
630
630
$ this ->assertNotEmpty ($ userAgent );
631
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
631
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
632
632
633
633
$ body = json_decode ($ request ->getBody ());
634
634
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -675,7 +675,7 @@ public function testStartsArchiveAudioOnly()
675
675
// TODO: test the dynamically built User Agent string
676
676
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
677
677
$ this ->assertNotEmpty ($ userAgent );
678
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
678
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
679
679
680
680
$ body = json_decode ($ request ->getBody ());
681
681
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -725,7 +725,7 @@ public function testStartsArchiveIndividualOutput()
725
725
// TODO: test the dynamically built User Agent string
726
726
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
727
727
$ this ->assertNotEmpty ($ userAgent );
728
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
728
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
729
729
730
730
$ body = json_decode ($ request ->getBody ());
731
731
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -774,7 +774,7 @@ public function testStartsArchiveResolutionSD()
774
774
// TODO: test the dynamically built User Agent string
775
775
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
776
776
$ this ->assertNotEmpty ($ userAgent );
777
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
777
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
778
778
779
779
$ body = json_decode ($ request ->getBody ());
780
780
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -822,7 +822,7 @@ public function testStartsArchiveResolutionHD()
822
822
// TODO: test the dynamically built User Agent string
823
823
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
824
824
$ this ->assertNotEmpty ($ userAgent );
825
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
825
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
826
826
827
827
$ body = json_decode ($ request ->getBody ());
828
828
$ this ->assertEquals ($ sessionId , $ body ->sessionId );
@@ -866,7 +866,7 @@ public function testStopsArchive()
866
866
// TODO: test the dynamically built User Agent string
867
867
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
868
868
$ this ->assertNotEmpty ($ userAgent );
869
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
869
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
870
870
871
871
$ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
872
872
// TODO: test the properties of the actual archive object
@@ -905,7 +905,7 @@ public function testGetsArchive()
905
905
// TODO: test the dynamically built User Agent string
906
906
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
907
907
$ this ->assertNotEmpty ($ userAgent );
908
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
908
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
909
909
910
910
$ this ->assertInstanceOf ('OpenTok\Archive ' , $ archive );
911
911
// TODO: test the properties of the actual archive object
@@ -942,7 +942,7 @@ public function testDeletesArchive()
942
942
// TODO: test the dynamically built User Agent string
943
943
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
944
944
$ this ->assertNotEmpty ($ userAgent );
945
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
945
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
946
946
947
947
$ this ->assertTrue ($ success );
948
948
// TODO: test the properties of the actual archive object
@@ -977,7 +977,7 @@ public function testListsArchives()
977
977
// TODO: test the dynamically built User Agent string
978
978
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
979
979
$ this ->assertNotEmpty ($ userAgent );
980
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
980
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
981
981
982
982
$ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
983
983
// TODO: test the properties of the actual archiveList object and its contained archive
@@ -1013,7 +1013,7 @@ public function testListsArchivesWithOffsetAndCount()
1013
1013
// TODO: test the dynamically built User Agent string
1014
1014
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1015
1015
$ this ->assertNotEmpty ($ userAgent );
1016
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1016
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1017
1017
1018
1018
$ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
1019
1019
$ this ->assertEquals (1 , $ archiveList ->totalCount ());
@@ -1054,7 +1054,7 @@ public function testListsArchivesWithSessionId()
1054
1054
// TODO: test the dynamically built User Agent string
1055
1055
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1056
1056
$ this ->assertNotEmpty ($ userAgent );
1057
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1057
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1058
1058
1059
1059
$ this ->assertInstanceOf ('OpenTok\ArchiveList ' , $ archiveList );
1060
1060
$ this ->assertEquals (2 , $ archiveList ->totalCount ());
@@ -1138,7 +1138,7 @@ public function testForceDisconnect()
1138
1138
// TODO: test the dynamically built User Agent string
1139
1139
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1140
1140
$ this ->assertNotEmpty ($ userAgent );
1141
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1141
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1142
1142
1143
1143
$ this ->assertTrue ($ success );
1144
1144
}
@@ -1312,7 +1312,7 @@ public function testStartsBroadcast()
1312
1312
// TODO: test the dynamically built User Agent string
1313
1313
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1314
1314
$ this ->assertNotEmpty ($ userAgent );
1315
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1315
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1316
1316
1317
1317
$ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
1318
1318
$ this ->assertIsString ($ broadcast ->id );
@@ -1368,7 +1368,7 @@ public function testStartBroadcastWithOptions()
1368
1368
// TODO: test the dynamically built User Agent string
1369
1369
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1370
1370
$ this ->assertNotEmpty ($ userAgent );
1371
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1371
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1372
1372
1373
1373
$ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
1374
1374
$ this ->assertIsString ($ broadcast ->id );
@@ -1415,7 +1415,7 @@ public function testStopsBroadcast()
1415
1415
// TODO: test the dynamically built User Agent string
1416
1416
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1417
1417
$ this ->assertNotEmpty ($ userAgent );
1418
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1418
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1419
1419
1420
1420
$ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
1421
1421
$ this ->assertTrue ($ broadcast ->isStopped );
@@ -1452,7 +1452,7 @@ public function testGetsBroadcast()
1452
1452
// TODO: test the dynamically built User Agent string
1453
1453
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1454
1454
$ this ->assertNotEmpty ($ userAgent );
1455
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1455
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1456
1456
1457
1457
$ this ->assertInstanceOf ('OpenTok\Broadcast ' , $ broadcast );
1458
1458
}
@@ -1496,7 +1496,7 @@ public function testUpdatesBroadcastLayoutWithPredefined()
1496
1496
// TODO: test the dynamically built User Agent string
1497
1497
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1498
1498
$ this ->assertNotEmpty ($ userAgent );
1499
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1499
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1500
1500
}
1501
1501
1502
1502
public function testUpdatesBroadcastLayoutWithCustom ()
@@ -1542,7 +1542,7 @@ public function testUpdatesBroadcastLayoutWithCustom()
1542
1542
// TODO: test the dynamically built User Agent string
1543
1543
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1544
1544
$ this ->assertNotEmpty ($ userAgent );
1545
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1545
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1546
1546
}
1547
1547
1548
1548
public function testUpdatesStreamLayoutClassList ()
@@ -1587,7 +1587,7 @@ public function testUpdatesStreamLayoutClassList()
1587
1587
// TODO: test the dynamically built User Agent string
1588
1588
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1589
1589
$ this ->assertNotEmpty ($ userAgent );
1590
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1590
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1591
1591
}
1592
1592
1593
1593
public function testGetStream ()
@@ -1626,7 +1626,7 @@ public function testGetStream()
1626
1626
1627
1627
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1628
1628
$ this ->assertNotEmpty ($ userAgent );
1629
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1629
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1630
1630
}
1631
1631
1632
1632
public function testSipCall ()
@@ -1903,7 +1903,7 @@ public function testSignalData()
1903
1903
// TODO: test the dynamically built User Agent string
1904
1904
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1905
1905
$ this ->assertNotEmpty ($ userAgent );
1906
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1906
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1907
1907
1908
1908
$ body = json_decode ($ request ->getBody ());
1909
1909
$ this ->assertEquals ('apple ' , $ body ->data );
@@ -1945,7 +1945,7 @@ public function testSignalWithConnectionId()
1945
1945
// TODO: test the dynamically built User Agent string
1946
1946
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
1947
1947
$ this ->assertNotEmpty ($ userAgent );
1948
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
1948
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
1949
1949
1950
1950
$ body = json_decode ($ request ->getBody ());
1951
1951
$ this ->assertEquals ('random message ' , $ body ->data );
@@ -2060,7 +2060,7 @@ public function testListStreams()
2060
2060
// TODO: test the dynamically built User Agent string
2061
2061
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
2062
2062
$ this ->assertNotEmpty ($ userAgent );
2063
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
2063
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
2064
2064
2065
2065
$ this ->assertInstanceOf ('OpenTok\StreamList ' , $ streamList );
2066
2066
@@ -2104,7 +2104,7 @@ public function testsSetArchiveLayoutWithPredefined()
2104
2104
// TODO: test the dynamically built User Agent string
2105
2105
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
2106
2106
$ this ->assertNotEmpty ($ userAgent );
2107
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
2107
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
2108
2108
}
2109
2109
2110
2110
public function testsSetArchiveLayoutWithCustom ()
@@ -2150,7 +2150,7 @@ public function testsSetArchiveLayoutWithCustom()
2150
2150
// TODO: test the dynamically built User Agent string
2151
2151
$ userAgent = $ request ->getHeaderLine ('User-Agent ' );
2152
2152
$ this ->assertNotEmpty ($ userAgent );
2153
- $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.0 ' , $ userAgent );
2153
+ $ this ->assertStringStartsWith ('OpenTok-PHP-SDK/4.9.1 ' , $ userAgent );
2154
2154
}
2155
2155
2156
2156
/**
0 commit comments