We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273d712 commit 5da6147Copy full SHA for 5da6147
src/Symfony/Component/Translation/Tests/Extractor/PhpAstExtractorTest.php
@@ -31,7 +31,13 @@ public function testExtractFiles(iterable|string $resource)
31
$extractor->extract($resource, $catalogue);
32
33
$this->assertEquals(['messages' => ['example' => 'example']], $catalogue->all());
34
- $this->assertEquals(['sources' => [self::FIXTURES_FOLDER.'translation.html.php:1']], $catalogue->getMetadata('example'));
+ $this->assertEqualsCanonicalizing([
35
+ 'sources' => [
36
+ self::FIXTURES_FOLDER.'translation.html.php:1',
37
+ self::FIXTURES_FOLDER.'translatable-short.html.php:1',
38
+ self::FIXTURES_FOLDER.'translatable-short-fqn.html.php:1',
39
+ ],
40
+ ], $catalogue->getMetadata('example'));
41
}
42
43
public static function resourcesProvider(): \Generator
0 commit comments