diff options
Diffstat (limited to 'tests/TestCase.php')
| -rw-r--r-- | tests/TestCase.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/TestCase.php b/tests/TestCase.php index 9fca11260a..06ef504869 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -122,10 +122,11 @@ class TestCase extends \PHPUnit\Framework\TestCase $tree = Tree::create(basename($gedcom_file), basename($gedcom_file)); $tree->importGedcomFile(__DIR__ . '/data/' . $gedcom_file, $gedcom_file); + View::share('tree', $tree); $gedcom_file_controller = new GedcomFileController(); do { - $gedcom_file_controller->import(new TimeoutService(microtime()), $tree); + $gedcom_file_controller->import(new TimeoutService(microtime(true)), $tree); $imported = $tree->getPreference('imported'); } while (!$imported); |
