Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 2, 2024
1 parent 70e0b34 commit 357076f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/Command/TemplateCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ public function testBakeView()
public function testBakeViewEnum()
{
$table = $this->fetchTable('BakeUsers');
$table->associations()->removeAll();
$table->getSchema()->setColumnType('status', EnumType::from(BakeUserStatus::class));

$this->generatedFile = ROOT . 'templates/BakeUsers/view.php';
Expand Down

0 comments on commit 357076f

Please sign in to comment.