mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
Fix tests
This commit is contained in:
parent
7c04b7396a
commit
33264c2d02
2 changed files with 3 additions and 2 deletions
|
@ -156,7 +156,7 @@ class EntryRepository extends EntityRepository
|
|||
$entryAlias = 'e' . $i;
|
||||
$tagAlias = 't' . $i;
|
||||
|
||||
// Complexe queries to ensure multiple tags is associated to an entry
|
||||
// Complexe queries to ensure multiple tags are associated to an entry
|
||||
// https://stackoverflow.com/a/6638146/569101
|
||||
$qb->andWhere($qb->expr()->in(
|
||||
'e.id',
|
||||
|
|
|
@ -239,7 +239,8 @@ class ExportControllerTest extends WallabagCoreTestCase
|
|||
$this->assertSame($contentInDB->getLanguage(), $content[0]['language']);
|
||||
$this->assertSame($contentInDB->getReadingtime(), $content[0]['reading_time']);
|
||||
$this->assertSame($contentInDB->getDomainname(), $content[0]['domain_name']);
|
||||
$this->assertSame(['baz', 'foo'], $content[0]['tags']);
|
||||
$this->assertContains('baz', $content[0]['tags']);
|
||||
$this->assertContains('foo', $content[0]['tags']);
|
||||
}
|
||||
|
||||
public function testXmlExport()
|
||||
|
|
Loading…
Reference in a new issue