diff options
| author | Greg Roach <fisharebest@gmail.com> | 2018-04-02 10:18:30 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2018-04-02 10:18:30 +0100 |
| commit | b2dd3be6317810cbb439bcfcb5e03e2cf038e314 (patch) | |
| tree | 4986485b4f0c0c9546b36edc6e0464bbb4927126 /tests/app/Census/CensusColumnBirthDayTest.php | |
| parent | b3fc7c59028cc429d5605157531bb9a876e8925c (diff) | |
| download | webtrees-b2dd3be6317810cbb439bcfcb5e03e2cf038e314.tar.gz webtrees-b2dd3be6317810cbb439bcfcb5e03e2cf038e314.tar.bz2 webtrees-b2dd3be6317810cbb439bcfcb5e03e2cf038e314.zip | |
Do not mock abstract classes in unit tests
Diffstat (limited to 'tests/app/Census/CensusColumnBirthDayTest.php')
| -rw-r--r-- | tests/app/Census/CensusColumnBirthDayTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app/Census/CensusColumnBirthDayTest.php b/tests/app/Census/CensusColumnBirthDayTest.php index c5dc80f4e3..caa5e850a6 100644 --- a/tests/app/Census/CensusColumnBirthDayTest.php +++ b/tests/app/Census/CensusColumnBirthDayTest.php @@ -34,7 +34,7 @@ class CensusColumnBirthDayTest extends \PHPUnit\Framework\TestCase { * @covers \Fisharebest\Webtrees\Census\AbstractCensusColumn */ public function testGenerateColumn() { - $cal_date = Mockery::mock('Fisharebest\Webtrees\Date\CalendarDate'); + $cal_date = Mockery::mock('Fisharebest\Webtrees\Date\GregorianDate'); $cal_date->shouldReceive('format')->andReturn('30'); $date = Mockery::mock('Fisharebest\Webtrees\Date'); |
