Skip to content

Commit 020ca23

Browse files
committed
use nonexistent user for new_account.php
1 parent c429777 commit 020ca23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/functional/PageLoadTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class PageLoadTest extends TestCase
88
public static function provider()
99
{
1010
$admin = getAdminUser();
11+
$nonexistent_user = getNonExistentUser();
1112
$normal_user = getNormalUser();
1213
$pi = getUserIsPIHasNoMembersNoMemberRequests();
1314
return [
@@ -16,7 +17,7 @@ public static function provider()
1617
[$admin, __DIR__ . "/../../webroot/admin/content.php"],
1718
[$admin, __DIR__ . "/../../webroot/admin/notices.php"],
1819
[$normal_user, __DIR__ . "/../../webroot/panel/account.php"],
19-
[$normal_user, __DIR__ . "/../../webroot/panel/new_account.php"],
20+
[$nonexistent_user, __DIR__ . "/../../webroot/panel/new_account.php"],
2021
[$normal_user, __DIR__ . "/../../webroot/panel/groups.php"],
2122
[$normal_user, __DIR__ . "/../../webroot/panel/support.php"],
2223
[$pi, __DIR__ . "/../../webroot/panel/pi.php"],

0 commit comments

Comments
 (0)