1
0
mirror of https://github.com/flarum/core.git synced 2025-08-09 01:46:35 +02:00

Use latest version of settings package

This allows us to get rid of hacks for configuring settings and config
This commit is contained in:
Alexander Skvortsov
2021-05-03 01:35:46 -04:00
parent ad92d11cf9
commit d12d52918b
7 changed files with 14 additions and 69 deletions

View File

@@ -26,11 +26,10 @@ class RequireCsrfTokenTest extends TestCase
$this->prepareDatabase([
'api_keys' => [
['user_id' => 1, 'key' => 'superadmin'],
],
'settings' => [
['key' => 'csrf_test', 'value' => 1],
],
]
]);
$this->setting('csrf_test', 1);
}
/**