Remove test testListsNestedUnknownColumn

^ because different DB drivers behave differently
Minor touch ups
This commit is contained in:
Samuel Georges 2016-01-04 17:54:23 +11:00
parent b5aef97133
commit ae73c2c592
3 changed files with 2 additions and 11 deletions

View File

@ -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
]);

View File

@ -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()

View File

@ -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', '...');