mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -25,11 +25,7 @@ class CreateTest extends TestCase
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->prepareDatabase([
|
||||
'settings' => [
|
||||
['key' => 'mail_driver', 'value' => 'log'],
|
||||
],
|
||||
]);
|
||||
$this->setting('mail_driver', 'log');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user