diff options
Diffstat (limited to 'tests/app/Factories')
22 files changed, 770 insertions, 0 deletions
diff --git a/tests/app/Factories/CacheFactoryTest.php b/tests/app/Factories/CacheFactoryTest.php new file mode 100644 index 0000000000..ec61384b6d --- /dev/null +++ b/tests/app/Factories/CacheFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class CacheFactory + * + * @covers Fisharebest\Webtrees\Factories\CacheFactory + */ +class CacheFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\CacheFactory::class)); + } +} diff --git a/tests/app/Factories/ElementFactoryTest.php b/tests/app/Factories/ElementFactoryTest.php new file mode 100644 index 0000000000..4cc7357cea --- /dev/null +++ b/tests/app/Factories/ElementFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class ElementFactory + * + * @covers Fisharebest\Webtrees\Factories\ElementFactory + */ +class ElementFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\ElementFactory::class)); + } +} diff --git a/tests/app/Factories/FamilyFactoryTest.php b/tests/app/Factories/FamilyFactoryTest.php new file mode 100644 index 0000000000..ee013f44b8 --- /dev/null +++ b/tests/app/Factories/FamilyFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class FamilyFactory + * + * @covers Fisharebest\Webtrees\Factories\FamilyFactory + */ +class FamilyFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\FamilyFactory::class)); + } +} diff --git a/tests/app/Factories/FilesystemFactoryTest.php b/tests/app/Factories/FilesystemFactoryTest.php new file mode 100644 index 0000000000..3b3ba89338 --- /dev/null +++ b/tests/app/Factories/FilesystemFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class FilesystemFactory + * + * @covers Fisharebest\Webtrees\Factories\FilesystemFactory + */ +class FilesystemFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\FilesystemFactory::class)); + } +} diff --git a/tests/app/Factories/GedcomRecordFactoryTest.php b/tests/app/Factories/GedcomRecordFactoryTest.php new file mode 100644 index 0000000000..786de2d493 --- /dev/null +++ b/tests/app/Factories/GedcomRecordFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class GedcomRecordFactory + * + * @covers Fisharebest\Webtrees\Factories\GedcomRecordFactory + */ +class GedcomRecordFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\GedcomRecordFactory::class)); + } +} diff --git a/tests/app/Factories/HeaderFactoryTest.php b/tests/app/Factories/HeaderFactoryTest.php new file mode 100644 index 0000000000..9701d27569 --- /dev/null +++ b/tests/app/Factories/HeaderFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class HeaderFactory + * + * @covers Fisharebest\Webtrees\Factories\HeaderFactory + */ +class HeaderFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\HeaderFactory::class)); + } +} diff --git a/tests/app/Factories/IdFactoryTest.php b/tests/app/Factories/IdFactoryTest.php new file mode 100644 index 0000000000..d5f8a314c5 --- /dev/null +++ b/tests/app/Factories/IdFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class IdFactory + * + * @covers Fisharebest\Webtrees\Factories\IdFactory + */ +class IdFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\IdFactory::class)); + } +} diff --git a/tests/app/Factories/ImageFactoryTest.php b/tests/app/Factories/ImageFactoryTest.php new file mode 100644 index 0000000000..976136ba3b --- /dev/null +++ b/tests/app/Factories/ImageFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class ImageFactory + * + * @covers Fisharebest\Webtrees\Factories\ImageFactory + */ +class ImageFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\ImageFactory::class)); + } +} diff --git a/tests/app/Factories/IndividualFactoryTest.php b/tests/app/Factories/IndividualFactoryTest.php new file mode 100644 index 0000000000..27a210ef19 --- /dev/null +++ b/tests/app/Factories/IndividualFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class IndividualFactory + * + * @covers Fisharebest\Webtrees\Factories\IndividualFactory + */ +class IndividualFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\IndividualFactory::class)); + } +} diff --git a/tests/app/Factories/LocationFactoryTest.php b/tests/app/Factories/LocationFactoryTest.php new file mode 100644 index 0000000000..2525c07a63 --- /dev/null +++ b/tests/app/Factories/LocationFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class LocationFactory + * + * @covers Fisharebest\Webtrees\Factories\LocationFactory + */ +class LocationFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\LocationFactory::class)); + } +} diff --git a/tests/app/Factories/MediaFactoryTest.php b/tests/app/Factories/MediaFactoryTest.php new file mode 100644 index 0000000000..6ab7ef61db --- /dev/null +++ b/tests/app/Factories/MediaFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class MediaFactory + * + * @covers Fisharebest\Webtrees\Factories\MediaFactory + */ +class MediaFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\MediaFactory::class)); + } +} diff --git a/tests/app/Factories/NoteFactoryTest.php b/tests/app/Factories/NoteFactoryTest.php new file mode 100644 index 0000000000..c39fea7446 --- /dev/null +++ b/tests/app/Factories/NoteFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class NoteFactory + * + * @covers Fisharebest\Webtrees\Factories\NoteFactory + */ +class NoteFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\NoteFactory::class)); + } +} diff --git a/tests/app/Factories/RepositoryFactoryTest.php b/tests/app/Factories/RepositoryFactoryTest.php new file mode 100644 index 0000000000..354830e082 --- /dev/null +++ b/tests/app/Factories/RepositoryFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class RepositoryFactory + * + * @covers Fisharebest\Webtrees\Factories\RepositoryFactory + */ +class RepositoryFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\RepositoryFactory::class)); + } +} diff --git a/tests/app/Factories/ResponseFactoryTest.php b/tests/app/Factories/ResponseFactoryTest.php new file mode 100644 index 0000000000..bd991e998c --- /dev/null +++ b/tests/app/Factories/ResponseFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class ResponseFactory + * + * @covers Fisharebest\Webtrees\Factories\ResponseFactory + */ +class ResponseFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\ResponseFactory::class)); + } +} diff --git a/tests/app/Factories/SharedNoteFactoryTest.php b/tests/app/Factories/SharedNoteFactoryTest.php new file mode 100644 index 0000000000..f8ab8fffdb --- /dev/null +++ b/tests/app/Factories/SharedNoteFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class SharedNoteFactory + * + * @covers Fisharebest\Webtrees\Factories\SharedNoteFactory + */ +class SharedNoteFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\SharedNoteFactory::class)); + } +} diff --git a/tests/app/Factories/SlugFactoryTest.php b/tests/app/Factories/SlugFactoryTest.php new file mode 100644 index 0000000000..1c975aee55 --- /dev/null +++ b/tests/app/Factories/SlugFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class SlugFactory + * + * @covers Fisharebest\Webtrees\Factories\SlugFactory + */ +class SlugFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\SlugFactory::class)); + } +} diff --git a/tests/app/Factories/SourceFactoryTest.php b/tests/app/Factories/SourceFactoryTest.php new file mode 100644 index 0000000000..7457897cf0 --- /dev/null +++ b/tests/app/Factories/SourceFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class SourceFactory + * + * @covers Fisharebest\Webtrees\Factories\SourceFactory + */ +class SourceFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\SourceFactory::class)); + } +} diff --git a/tests/app/Factories/SubmissionFactoryTest.php b/tests/app/Factories/SubmissionFactoryTest.php new file mode 100644 index 0000000000..137b55881b --- /dev/null +++ b/tests/app/Factories/SubmissionFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class SubmissionFactory + * + * @covers Fisharebest\Webtrees\Factories\SubmissionFactory + */ +class SubmissionFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\SubmissionFactory::class)); + } +} diff --git a/tests/app/Factories/SubmitterFactoryTest.php b/tests/app/Factories/SubmitterFactoryTest.php new file mode 100644 index 0000000000..f3d3708d04 --- /dev/null +++ b/tests/app/Factories/SubmitterFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class SubmitterFactory + * + * @covers Fisharebest\Webtrees\Factories\SubmitterFactory + */ +class SubmitterFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\SubmitterFactory::class)); + } +} diff --git a/tests/app/Factories/TimeFactoryTest.php b/tests/app/Factories/TimeFactoryTest.php new file mode 100644 index 0000000000..0912e85220 --- /dev/null +++ b/tests/app/Factories/TimeFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class TimeFactory + * + * @covers Fisharebest\Webtrees\Factories\TimeFactory + */ +class TimeFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\TimeFactory::class)); + } +} diff --git a/tests/app/Factories/TimestampFactoryTest.php b/tests/app/Factories/TimestampFactoryTest.php new file mode 100644 index 0000000000..571ef4a95e --- /dev/null +++ b/tests/app/Factories/TimestampFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class TimestampFactory + * + * @covers Fisharebest\Webtrees\Factories\TimestampFactory + */ +class TimestampFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\TimestampFactory::class)); + } +} diff --git a/tests/app/Factories/XrefFactoryTest.php b/tests/app/Factories/XrefFactoryTest.php new file mode 100644 index 0000000000..5da40a95f7 --- /dev/null +++ b/tests/app/Factories/XrefFactoryTest.php @@ -0,0 +1,35 @@ +<?php + +/** + * webtrees: online genealogy + * Copyright (C) 2022 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 + * (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <https://www.gnu.org/licenses/>. + */ + +declare(strict_types=1); + +namespace Fisharebest\Webtrees\Factories; + +use Fisharebest\Webtrees\TestCase; + +/** + * Test harness for the class XrefFactory + * + * @covers Fisharebest\Webtrees\Factories\XrefFactory + */ +class XrefFactoryTest extends TestCase +{ + public function testClass(): void + { + $this->assertTrue(class_exists(\Fisharebest\Webtrees\Factories\XrefFactory::class)); + } +} |
