1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Addressed test failures from users API changes

This commit is contained in:
Dan Brown
2022-02-04 01:02:13 +00:00
parent 46e6e239dc
commit c8be6ee8a6
5 changed files with 9 additions and 5 deletions

View File

@ -189,7 +189,7 @@ class UserManagementTest extends TestCase
foreach ($langs as $lang) {
config()->set('app.locale', $lang);
$resp = $this->asAdmin()->get('/settings/users/create');
$resp->assertElementExists('select[name="setting[language]"] option[value="' . $lang . '"][selected]');
$resp->assertElementExists('select[name="language"] option[value="' . $lang . '"][selected]');
}
}