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 f503f27 commit 7d15b1dCopy full SHA for 7d15b1d
tests/LangTest.php
@@ -0,0 +1,13 @@
1
+<?php
2
+use PHPUnit\Framework\TestCase;
3
+use JewishPulse\Locales\Lang;
4
+
5
+class LangTest extends TestCase
6
+{
7
+ public function testDefaultLangIsHebrew()
8
+ {
9
+ $contextMock = $this->createMock(stdClass::class);
10
+ $lang = new Lang($contextMock);
11
+ $this->assertEquals('he', $lang->getUserLang(999999));
12
+ }
13
+}
0 commit comments