PHPUnit 6.5.9 by Sebastian Bergmann and contributors.
.FFFFF 6 / 6 (100%)
Time: 315 ms, Memory: 20.00MB
There were 5 failures:
1) unit\TranslationTest::testFrenchTranslation
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Chaine de caractère du controlleur'
+'Controller string'
TranslationTest.php:70
2) unit\TranslationTest::testFrenchTranslationReplacement
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Salut %s, comment va ?'
+'Hello %s, how are you ?'
TranslationTest.php:76
3) unit\TranslationTest::testFrenchTranslationPluralNone
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Il n'y a pas de pommes'
+'There are no apples'
TranslationTest.php:85
4) unit\TranslationTest::testFrenchTranslationPluralOne
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Il y a une pomme'
+'There is one apple'
TranslationTest.php:94
5) unit\TranslationTest::testFrenchTranslationPluralMultiple
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Il y a 5 pommes'
+'There are 5 apples'
TranslationTest.php:103
FAILURES!
Tests: 6, Assertions: 6, Failures: 5.
for testing , i had to adding : void
public function setUp(): void
{
parent::setUp();
$testConfig = include __DIR__ . '/../../config/laravel-gettext.php';
PHPUnit 6.5.9 by Sebastian Bergmann and contributors.
.FFFFF 6 / 6 (100%)
Time: 315 ms, Memory: 20.00MB
There were 5 failures:
1) unit\TranslationTest::testFrenchTranslation Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Chaine de caractère du controlleur' +'Controller string'
TranslationTest.php:70
2) unit\TranslationTest::testFrenchTranslationReplacement Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Salut %s, comment va ?' +'Hello %s, how are you ?' TranslationTest.php:76
3) unit\TranslationTest::testFrenchTranslationPluralNone Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Il n'y a pas de pommes' +'There are no apples'
TranslationTest.php:85 4) unit\TranslationTest::testFrenchTranslationPluralOne Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Il y a une pomme' +'There is one apple'
TranslationTest.php:94
5) unit\TranslationTest::testFrenchTranslationPluralMultiple Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Il y a 5 pommes' +'There are 5 apples'
TranslationTest.php:103
FAILURES! Tests: 6, Assertions: 6, Failures: 5.
for testing , i had to adding : void
i hope it's working at 5.8 .. please help us :(