From e9e853987811e8bd423dccf26f6ef57571f393eb Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Thu, 10 Jan 2019 13:32:46 +0000 Subject: LEFT() is MySQL specific. Use SUBSTR() instead. --- tests/feature/IndividualListTest.php | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/feature/IndividualListTest.php (limited to 'tests/feature') diff --git a/tests/feature/IndividualListTest.php b/tests/feature/IndividualListTest.php new file mode 100644 index 0000000000..157b8c0c9b --- /dev/null +++ b/tests/feature/IndividualListTest.php @@ -0,0 +1,38 @@ +. + */ +declare(strict_types=1); + +namespace Fisharebest\Webtrees; + +/** + * Test the user functions + * + * @coversNothing + */ +class ImportGedcomTest extends \Fisharebest\Webtrees\TestCase +{ + protected static $uses_database = true; + + /** + * @return void + */ + public function testImportTrees(): void + { + $tree = $this->importTree('demo.ged'); + + $this->assertSame(1, $tree->id()); + } +} -- cgit v1.3