Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
driesvints committed Sep 12, 2022
commit d9d6bbb85f5cdab6f0032c6ada5cb590d0b96a65
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CanConfigureMigrationCommandsTest extends TestCase

protected function setUp(): void
{
$this->traitObject = $this->getObjectForTrait(CanConfigureMigrationCommands::class);
$this->traitObject = $this->getMockForAbstractClass(CanConfigureMigrationCommandsTestMockClass::class);
}

private function __reflectAndSetupAccessibleForProtectedTraitMethod($methodName)
Expand Down Expand Up @@ -77,3 +77,12 @@ public function testMigrateFreshUsingWithPropertySets(): void
$this->assertEquals($expected, $migrateFreshUsingReflection->invoke($this->traitObject));
}
}

class CanConfigureMigrationCommandsTestMockClass
{
use CanConfigureMigrationCommands;

public $dropViews = false;

public $dropTypes = false;
}