1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

Fix tests after sites refactoring

This commit is contained in:
Franz Liedke
2018-08-15 00:47:00 +02:00
parent fb5740926a
commit 034000ea0b
4 changed files with 95 additions and 84 deletions

View File

@@ -84,7 +84,7 @@ class CreateUserControllerTest extends ApiControllerTestCase
public function disabling_sign_up_prevents_user_creation()
{
/** @var SettingsRepositoryInterface $settings */
$settings = $this->app->make(SettingsRepositoryInterface::class);
$settings = app(SettingsRepositoryInterface::class);
$settings->set('allow_sign_up', false);
try {