diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-01-01 16:48:38 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-01-01 16:51:15 +0000 |
| commit | c314ecc9a18e5e740a1c0fcb7379ef541f969dc5 (patch) | |
| tree | 7f1b9bea0682fb26f79353dc1699d2f4030090a9 /tests/app/Census/CensusOfFrance1891Test.php | |
| parent | a085bd675f497ca7d5961ed302b00b842863f576 (diff) | |
| download | webtrees-c314ecc9a18e5e740a1c0fcb7379ef541f969dc5.tar.gz webtrees-c314ecc9a18e5e740a1c0fcb7379ef541f969dc5.tar.bz2 webtrees-c314ecc9a18e5e740a1c0fcb7379ef541f969dc5.zip | |
PHP 5.3 compatibility
Diffstat (limited to 'tests/app/Census/CensusOfFrance1891Test.php')
| -rw-r--r-- | tests/app/Census/CensusOfFrance1891Test.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/app/Census/CensusOfFrance1891Test.php b/tests/app/Census/CensusOfFrance1891Test.php index 3678bdfb32..4bcff26638 100644 --- a/tests/app/Census/CensusOfFrance1891Test.php +++ b/tests/app/Census/CensusOfFrance1891Test.php @@ -43,11 +43,11 @@ class CensusOfFrance1891Test extends \PHPUnit_Framework_TestCase { $columns = $census->columns(); $this->assertCount(5, $columns); - $this->assertInstanceOf(CensusColumnSurname::class, $columns[0]); - $this->assertInstanceOf(CensusColumnGivenNames::class, $columns[1]); - $this->assertInstanceOf(CensusColumnOccupation::class, $columns[2]); - $this->assertInstanceOf(CensusColumnRelationToHead::class, $columns[3]); - $this->assertInstanceOf(CensusColumnNationality::class, $columns[4]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnSurname', $columns[0]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnGivenNames', $columns[1]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnOccupation', $columns[2]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnRelationToHead', $columns[3]); + $this->assertInstanceOf('Fisharebest\Webtrees\Census\CensusColumnNationality', $columns[4]); $this->assertSame('XXXX', $columns[0]->abbreviation()); $this->assertSame('XXXX', $columns[1]->abbreviation()); |
