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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user