Remove test testListsNestedUnknownColumn
^ because different DB drivers behave differently Minor touch ups
This commit is contained in:
parent
b5aef97133
commit
ae73c2c592
|
|
@ -40,7 +40,7 @@ class SeedSetupAdmin extends Seeder
|
|||
'first_name' => static::$firstName,
|
||||
'last_name' => static::$lastName,
|
||||
'permissions' => [],
|
||||
'is_superuser' => true,
|
||||
'is_superuser' => true,
|
||||
'is_activated' => true
|
||||
]);
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class ThemeTest extends TestCase
|
|||
{
|
||||
$theme = Theme::load('test');
|
||||
|
||||
$this->assertEquals(base_path().'/tests/fixtures/themes/test', $theme->getPath());
|
||||
$this->assertEquals(base_path('tests/fixtures/themes/test'), $theme->getPath());
|
||||
}
|
||||
|
||||
public function testListPages()
|
||||
|
|
|
|||
|
|
@ -63,15 +63,6 @@ class NestedTreeModelTest extends PluginTestCase
|
|||
], $array);
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException \Exception
|
||||
* @expectedExceptionMessage Column mismatch in listsNested method
|
||||
*/
|
||||
public function testListsNestedUnknownColumn()
|
||||
{
|
||||
CategoryNested::listsNested('custom_name', 'id');
|
||||
}
|
||||
|
||||
public function testListsNestedFromCollection()
|
||||
{
|
||||
$array = CategoryNested::get()->listsNested('custom_name', 'id', '...');
|
||||
|
|
|
|||
Loading…
Reference in New Issue