1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Stop using app() helper in tests

This commit is contained in:
Franz Liedke
2020-05-23 01:55:58 +02:00
parent d6acf28fcb
commit 4866e7d9ba
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ class CreateTest extends TestCase
public function disabling_sign_up_prevents_user_creation()
{
/** @var SettingsRepositoryInterface $settings */
$settings = app(SettingsRepositoryInterface::class);
$settings = $this->app()->getContainer()->make(SettingsRepositoryInterface::class);
$settings->set('allow_sign_up', false);
$response = $this->send(