diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-02-28 15:59:26 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-02-28 15:59:26 +0000 |
| commit | 789ec362434585ae73a2e5d1f6b504dfe510008b (patch) | |
| tree | 5c5a6c2e3d0eb63db21143fca86cef1f9364a4f3 /tests/app/Census/CensusOfFrance1846Test.php | |
| parent | 7030f2553d343d090493dd024568aed571d12324 (diff) | |
| download | webtrees-789ec362434585ae73a2e5d1f6b504dfe510008b.tar.gz webtrees-789ec362434585ae73a2e5d1f6b504dfe510008b.tar.bz2 webtrees-789ec362434585ae73a2e5d1f6b504dfe510008b.zip | |
Tests for French census
Diffstat (limited to 'tests/app/Census/CensusOfFrance1846Test.php')
| -rw-r--r-- | tests/app/Census/CensusOfFrance1846Test.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/app/Census/CensusOfFrance1846Test.php b/tests/app/Census/CensusOfFrance1846Test.php index 341eb7b1fd..cff9d3fa61 100644 --- a/tests/app/Census/CensusOfFrance1846Test.php +++ b/tests/app/Census/CensusOfFrance1846Test.php @@ -47,18 +47,18 @@ class CensusOfFrance1846Test extends \PHPUnit_Framework_TestCase { $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnGivenNames', $columns[1]); $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnOccupation', $columns[2]); $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnAge', $columns[3]); - $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnConditionEnglish', $columns[4]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnConditionFrench', $columns[4]); - $this->assertSame('XXXX', $columns[0]->abbreviation()); - $this->assertSame('XXXX', $columns[1]->abbreviation()); - $this->assertSame('XXXX', $columns[2]->abbreviation()); - $this->assertSame('XXXX', $columns[3]->abbreviation()); - $this->assertSame('XXXX', $columns[4]->abbreviation()); + $this->assertSame('Nom', $columns[0]->abbreviation()); + $this->assertSame('Prénom', $columns[1]->abbreviation()); + $this->assertSame('Profession', $columns[2]->abbreviation()); + $this->assertSame('Âge', $columns[3]->abbreviation()); + $this->assertSame('Situtation pers.', $columns[4]->abbreviation()); - $this->assertSame('XXXX', $columns[0]->title()); - $this->assertSame('XXXX', $columns[1]->title()); - $this->assertSame('XXXX', $columns[2]->title()); - $this->assertSame('XXXX', $columns[3]->title()); - $this->assertSame('XXXX', $columns[4]->title()); + $this->assertSame('Nom de famille', $columns[0]->title()); + $this->assertSame('Prénom', $columns[1]->title()); + $this->assertSame('Profession', $columns[2]->title()); + $this->assertSame('Âge', $columns[3]->title()); + $this->assertSame('Situation personnelle (marié, veuf…)', $columns[4]->title()); } } |
