Skip to content

Commit 7fa2244

Browse files
committed
Fix test regressions
1 parent 92cf571 commit 7fa2244

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/event/listener_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ public function test_submit_idea($mode, $forum_id, $topic_id, $approved, $succes
681681
*
682682
* @return array Array of test data
683683
*/
684-
public function change_idea_author_data()
684+
public static function change_idea_author_data()
685685
{
686686
return [
687687
[2, 1, 1, 2, true], // Valid: ideas forum, different authors

tests/functional/viewonline_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function test_viewonline_check_viewonline()
2222
{
2323
// Visit Ideas as user "admin"
2424
$this->login();
25-
$crawler = self::request('GET', "app.php/ideas?sid=$this->sid");
25+
$crawler = self::request('GET', "index.php/ideas?sid=$this->sid");
2626
$this->assertContainsLang('IDEAS_TITLE', $crawler->filter('h2')->text());
2727

2828
// Create a second user and check who is online from a separate session.

0 commit comments

Comments
 (0)