Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 516fa40

Browse filesBrowse files
committed
fix tests
1 parent be749d6 commit 516fa40
Copy full SHA for 516fa40

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎src/Symfony/Component/Translation/Tests/TranslatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Translation/Tests/TranslatorTest.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function testConstructorWithoutLocale()
4545
{
4646
$translator = new Translator(null);
4747

48-
$this->assertNull($translator->getLocale());
48+
$this->assertSame('en', $translator->getLocale());
4949
}
5050

5151
public function testSetGetLocale()
@@ -87,7 +87,7 @@ public function testSetNullLocale()
8787
$translator = new Translator('en');
8888
$translator->setLocale(null);
8989

90-
$this->assertNull($translator->getLocale());
90+
$this->assertSame('en', $translator->getLocale());
9191
}
9292

9393
public function testGetCatalogue()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.