summaryrefslogtreecommitdiff
path: root/tests/app/Schema/Migration24Test.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-12-06 13:36:20 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-12-06 13:48:20 +0000
commita81396241f8b2caf70988b1979e1927e5c8e9398 (patch)
treeaf35cd2dc8df7eb30dac755805d0c57dfd5f2fe9 /tests/app/Schema/Migration24Test.php
parent2699d89cd4ccb4ed42d54b35c9266a62446e456a (diff)
downloadwebtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.tar.gz
webtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.tar.bz2
webtrees-a81396241f8b2caf70988b1979e1927e5c8e9398.zip
Add minimal test scripts for every class, to pick up PHP version issues
Diffstat (limited to 'tests/app/Schema/Migration24Test.php')
-rw-r--r--tests/app/Schema/Migration24Test.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/app/Schema/Migration24Test.php b/tests/app/Schema/Migration24Test.php
new file mode 100644
index 0000000000..32937a5f62
--- /dev/null
+++ b/tests/app/Schema/Migration24Test.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\Schema;
+
+use Fisharebest\Webtrees\TestCase;
+
+/**
+ * Test harness for the class Migration24
+ *
+ * @covers Fisharebest\Webtrees\Schema\Migration24
+ */
+class Migration24Test extends TestCase
+{
+ public function testClass(): void
+ {
+ $this->assertTrue(class_exists(\Fisharebest\Webtrees\Schema\Migration24::class));
+ }
+}