File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 if git rev-parse -q --verify MERGE_HEAD > /dev/null; then
6060 git merge --abort
6161 fi
62+ exit 1
6263 fi
Original file line number Diff line number Diff line change @@ -48,11 +48,14 @@ public function test_viewonline_setup()
4848 public function test_viewonline_check ($ page_title )
4949 {
5050 // Create user1 and send them to the Viewonline
51+ self ::$ client ->restart ();
5152 $ this ->create_user ('user1 ' );
5253 $ this ->login ('user1 ' );
54+ // PHP goes faster than DBMS, make sure session data got written to the database.
55+ sleep (1 );
5356 $ crawler = self ::request ('GET ' , "viewonline.php?sid= {$ this ->sid }" );
5457
55- // Is admin still viewing the test page
58+ // Is admin still viewing the test page?
5659 self ::assertStringContainsString ('admin ' , $ crawler ->filter ('#page-body table.table1 ' )->text ());
5760
5861 $ session_entries = $ crawler ->filter ('#page-body table.table1 tr ' )->count ();
You can’t perform that action at this time.
0 commit comments