summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusOfDeutschlandNL1867Test.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-03-08 09:23:38 +0000
committerGreg Roach <fisharebest@gmail.com>2017-03-08 09:23:38 +0000
commit6bdf767435631ad1dc27ec1ffd855d43dbdce907 (patch)
treeeb900a6c688c4fa95f7bd1361f4c4656ad5d4d62 /tests/app/Census/CensusOfDeutschlandNL1867Test.php
parent30ecd297cad0e35b36578ad1c353d5be28f5633e (diff)
downloadwebtrees-6bdf767435631ad1dc27ec1ffd855d43dbdce907.tar.gz
webtrees-6bdf767435631ad1dc27ec1ffd855d43dbdce907.tar.bz2
webtrees-6bdf767435631ad1dc27ec1ffd855d43dbdce907.zip
2017
Diffstat (limited to 'tests/app/Census/CensusOfDeutschlandNL1867Test.php')
-rw-r--r--tests/app/Census/CensusOfDeutschlandNL1867Test.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/app/Census/CensusOfDeutschlandNL1867Test.php b/tests/app/Census/CensusOfDeutschlandNL1867Test.php
index ad54c2e9b5..4687a40b85 100644
--- a/tests/app/Census/CensusOfDeutschlandNL1867Test.php
+++ b/tests/app/Census/CensusOfDeutschlandNL1867Test.php
@@ -2,7 +2,7 @@
/**
* webtrees: online genealogy
- * Copyright (C) 2016 webtrees development team
+ * Copyright (C) 2017 webtrees development team
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -27,11 +27,11 @@ class CensusOfDeutschlandNL1867Test extends \PHPUnit_Framework_TestCase {
*/
public function testPlaceAndDate() {
$census = new CensusOfDeutschlandNL1867;
-
+
$this->assertSame('Mecklenburg-Schwerin (Nachtragsliste), Deutschland', $census->censusPlace());
$this->assertSame('03 DEC 1867', $census->censusDate());
}
-
+
/**
* Test the census columns
*
@@ -41,7 +41,7 @@ class CensusOfDeutschlandNL1867Test extends \PHPUnit_Framework_TestCase {
public function testColumns() {
$census = new CensusOfDeutschlandNL1867;
$columns = $census->columns();
-
+
$this->assertCount(18, $columns);
$this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnNull', $columns[0]);
$this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnGivenNames', $columns[1]);
@@ -80,7 +80,7 @@ class CensusOfDeutschlandNL1867Test extends \PHPUnit_Framework_TestCase {
$this->assertSame('16.', $columns[15]->abbreviation());
$this->assertSame('17.', $columns[16]->abbreviation());
$this->assertSame('18.Aufenthaltsort', $columns[17]->abbreviation());
-
+
$this->assertSame('Ordnungs-Nummer.', $columns[0]->title());
$this->assertSame('I. Vor- und Familienname jeder Person. Vorname.', $columns[1]->title());
$this->assertSame('I. Vor- und Familienname jeder Person. Familienname.', $columns[2]->title());
@@ -100,4 +100,4 @@ class CensusOfDeutschlandNL1867Test extends \PHPUnit_Framework_TestCase {
$this->assertSame('VII. Art des Aufenthalts am Zählungsort. Ueber ein Jahr, oder in anderer Art als nach Spalte 14 bis 16 Abwesende.', $columns[16]->title());
$this->assertSame('VIII. Vermuthlicher Aufenthaltsort zur Zählungszeit.', $columns[17]->title());
}
-} \ No newline at end of file
+}