From 357076f61aae127c8ed278c38d2aae6280c40b3c Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 1 Jun 2024 23:08:36 -0400 Subject: [PATCH] Fix tests --- tests/TestCase/Command/TemplateCommandTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestCase/Command/TemplateCommandTest.php b/tests/TestCase/Command/TemplateCommandTest.php index 715b80fe..7c0e47b0 100644 --- a/tests/TestCase/Command/TemplateCommandTest.php +++ b/tests/TestCase/Command/TemplateCommandTest.php @@ -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';