File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1521,12 +1521,7 @@ public function testPage() {
15211521 // CHECK PUBLIC VIEW TRACK ON PRIVATE SESSION
15221522 $ sessions = [[$ sharetoken2 , null , null ]];
15231523 $ resp = $ this ->pageController ->publicViewTrack ($ sessions );
1524- $ data = $ resp ->getData ();
1525- $ respSession = $ data ['sessions ' ];
1526- $ respNames = $ data ['names ' ];
1527- $ respColors = $ data ['colors ' ];
1528-
1529- $ this ->assertEquals (count ($ respSession ), 0 );
1524+ $ this ->assertEquals (Http::STATUS_NOT_FOUND , $ resp ->getStatus ());
15301525
15311526 // API
15321527 $ resp = $ this ->pageController ->APIgetLastPositionsPublic ($ sharetoken2 );
@@ -2108,7 +2103,7 @@ public function testPage() {
21082103
21092104 // PUBLIC WEB LOG with non existent session
21102105 $ resp = $ this ->pageController ->publicWebLog ('' , '' );
2111- $ this ->assertEquals (is_string ( $ resp), true );
2106+ $ this ->assertEquals (Http:: STATUS_FORBIDDEN , $ resp-> getStatus () );
21122107
21132108 $ resp = $ this ->utilsController ->saveOptionValue ([
21142109 'applyfilters ' => 'false ' ,
You can’t perform that action at this time.
0 commit comments