Skip to content

Commit 58e9ab8

Browse files
Merge branch '7.4' into 8.0
* 7.4: (28 commits) [Console] Rename `#[Input]` to `#[MapInput]` [FrameworkBundle] Fix support of dumping workflow when workflow is decorated by TraceableWorkflow [JsonStreamer] Fix documentation link in README [Meta] Better exception when symfony link cannot read a JSON [Form] Add new `active_at`, `not_active_at` and `legal_tender` options to `CurrencyType` [Intl] Support time in generated data in currencies validity [Validator] Improve and complete Japanese translations [HtmlSanitizer] Remove redundant assignment to promoted property $config in constructor [Validator] Fix Polish translation for word count validation message [DependencyInjection][Routing] Deprecate XML configuration format [Validator] Review and fix Czech translation [DependencyInjection][Routing] Handle declaring services and routes using PHP arrays that follow the same shape as corresponding yaml files [Mailer][MailJet] Fix forbidden headers case-sensitive comparison [DependencyInjection][Config][Routing] Deprecate using `$this` or the internal scope of the loader from PHP config files [Config] Add array-shapes to generated config builders [DependencyInjection] Handle returning arrays and config-builders from config files [WebProfilerBundle] Simplify toolbar CSS do not use deprecated PHPUnit features replace PHPUnit annotation with attribute [Serializer] xml empty array encoding ...
2 parents 1cabd03 + 7d843af commit 58e9ab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Loader/XliffFileLoaderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testLoadFile()
2828
$this->assertEquals('en', $catalogue->getLocale());
2929
$this->assertEquals([new FileResource($resource)], $catalogue->getResources());
3030
$this->assertSame([], libxml_get_errors());
31-
$this->assertContainsOnly('string', $catalogue->all('domain1'));
31+
$this->assertContainsOnlyString($catalogue->all('domain1'));
3232
}
3333

3434
public function testLoadRawXliff()
@@ -72,7 +72,7 @@ public function testLoadRawXliff()
7272

7373
$this->assertEquals('en', $catalogue->getLocale());
7474
$this->assertSame([], libxml_get_errors());
75-
$this->assertContainsOnly('string', $catalogue->all('domain1'));
75+
$this->assertContainsOnlyString($catalogue->all('domain1'));
7676
$this->assertSame(['foo', 'extra', 'key', 'test'], array_keys($catalogue->all('domain1')));
7777
}
7878

@@ -252,7 +252,7 @@ public function testLoadVersion2()
252252

253253
$domains = $catalogue->all();
254254
$this->assertCount(3, $domains['domain1']);
255-
$this->assertContainsOnly('string', $catalogue->all('domain1'));
255+
$this->assertContainsOnlyString($catalogue->all('domain1'));
256256

257257
// target attributes
258258
$this->assertEquals(['target-attributes' => ['order' => 1]], $catalogue->getMetadata('bar', 'domain1'));

0 commit comments

Comments
 (0)