mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
PHPStan level 3
This commit is contained in:
parent
85065b509f
commit
0f17a8cf8a
25 changed files with 86 additions and 74 deletions
|
@ -673,7 +673,7 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
->getRepository(Entry::class)
|
||||
->findOneById($entry->getId());
|
||||
|
||||
$this->assertSame(1, $res->isStarred());
|
||||
$this->assertTrue($res->isStarred());
|
||||
}
|
||||
|
||||
public function testDelete()
|
||||
|
@ -1748,14 +1748,14 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
->getRepository(Entry::class)
|
||||
->find($entry1->getId());
|
||||
|
||||
$this->assertSame(1, $res->isStarred());
|
||||
$this->assertTrue($res->isStarred());
|
||||
|
||||
$res = $client->getContainer()
|
||||
->get(EntityManagerInterface::class)
|
||||
->getRepository(Entry::class)
|
||||
->find($entry2->getId());
|
||||
|
||||
$this->assertSame(1, $res->isStarred());
|
||||
$this->assertTrue($res->isStarred());
|
||||
|
||||
// Mass actions : tag
|
||||
$client->request('POST', '/mass', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue