mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
PHPStan level 5
This commit is contained in:
parent
3ef7064ada
commit
36eb513e1b
22 changed files with 60 additions and 47 deletions
|
@ -45,7 +45,7 @@ class WallabagRestControllerTest extends WallabagApiTestCase
|
|||
$this->markTestSkipped('fosuser_registration is not enabled.');
|
||||
}
|
||||
|
||||
$client->getContainer()->get(Config::class)->set('api_user_registration', 1);
|
||||
$client->getContainer()->get(Config::class)->set('api_user_registration', '1');
|
||||
|
||||
$client->request('GET', '/api/info');
|
||||
|
||||
|
@ -53,7 +53,7 @@ class WallabagRestControllerTest extends WallabagApiTestCase
|
|||
|
||||
$this->assertTrue($content['allowed_registration']);
|
||||
|
||||
$client->getContainer()->get(Config::class)->set('api_user_registration', 0);
|
||||
$client->getContainer()->get(Config::class)->set('api_user_registration', '0');
|
||||
|
||||
$client->request('GET', '/api/info');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue