Skip to content

Commit

Permalink
BAP-20048: DQL cache issue with parameter with dynamic part in DQL (#…
Browse files Browse the repository at this point in the history
…28358)

- fixing failing tests
  • Loading branch information
x86demon authored Jul 29, 2020
1 parent 7aa057d commit ec1afc1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function testBatchIterator(array $expectedWebsiteNames)
*/
public function testGetWebsiteIdentifiers(array $websites)
{
$websites = array_map(
$websiteIds = array_map(
function ($websiteReference) {
if ($websiteReference === 'Default') {
return $this->getRepository()->getDefaultWebsite()->getId();
Expand All @@ -92,7 +92,7 @@ function ($websiteReference) {
},
$websites
);
$this->assertEquals($websites, $this->getRepository()->getWebsiteIdentifiers());
$this->assertEqualsCanonicalizing($websiteIds, $this->getRepository()->getWebsiteIdentifiers());
}

/**
Expand Down

0 comments on commit ec1afc1

Please sign in to comment.