summaryrefslogtreecommitdiff
path: root/tests/TestCase.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-06 20:47:20 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-06 20:47:20 +0000
commitc88a5019dff7bc89d58039dfe7af14f8446e6384 (patch)
tree128b2c1988f57b745826cfb5d15d74cb2de1b8b4 /tests/TestCase.php
parentfbbe964bc80e7afdf862fef357b9aa52ded269cb (diff)
downloadwebtrees-c88a5019dff7bc89d58039dfe7af14f8446e6384.tar.gz
webtrees-c88a5019dff7bc89d58039dfe7af14f8446e6384.tar.bz2
webtrees-c88a5019dff7bc89d58039dfe7af14f8446e6384.zip
Fix tests
Diffstat (limited to 'tests/TestCase.php')
-rw-r--r--tests/TestCase.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 298089f79a..1f2c53884d 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -104,6 +104,7 @@ class TestCase extends \PHPUnit\Framework\TestCase
'database' => ':memory:',
]);
$capsule->setAsGlobal();
+ Database::registerMacros();
// Create tables
Database::updateSchema('\Fisharebest\Webtrees\Schema', 'WT_SCHEMA_VERSION', Webtrees::SCHEMA_VERSION);