summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusOfScotlandTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Census/CensusOfScotlandTest.php')
-rw-r--r--tests/app/Census/CensusOfScotlandTest.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/app/Census/CensusOfScotlandTest.php b/tests/app/Census/CensusOfScotlandTest.php
index 616d94e1d2..67f947b971 100644
--- a/tests/app/Census/CensusOfScotlandTest.php
+++ b/tests/app/Census/CensusOfScotlandTest.php
@@ -41,6 +41,20 @@ class CensusOfScotlandTest extends TestCase
}
/**
+ * Test the census language
+ *
+ * @covers \Fisharebest\Webtrees\Census\CensusOfCzechRepublic
+ *
+ * @return void
+ */
+ public function testLanguage(): void
+ {
+ $census = new CensusOfScotland();
+
+ $this->assertSame('en-GB', $census->censusLanguage());
+ }
+
+ /**
* Test the census dates
*
* @covers \Fisharebest\Webtrees\Census\CensusOfScotland