diff --git a/tests/Model/UserDefinedFormTest.php b/tests/Model/UserDefinedFormTest.php index 24a0ee4..1d40f92 100644 --- a/tests/Model/UserDefinedFormTest.php +++ b/tests/Model/UserDefinedFormTest.php @@ -283,12 +283,9 @@ class UserDefinedFormTest extends FunctionalTest $this->assertNotEmpty($liveRule); // Publish form, it should remove this rule - /** - * @todo Currently failing, revisit once https://github.com/silverstripe/silverstripe-versioned/issues/34 is resolved - */ - // $form->publishRecursive(); - // $liveRule = Versioned::get_one_by_stage(EditableCustomRule::class, 'Live', "\"EditableCustomRule_Live\".\"ID\" = $ruleID"); - // $this->assertEmpty($liveRule); + $form->publishRecursive(); + $liveRule = Versioned::get_one_by_stage(EditableCustomRule::class, 'Live', "\"EditableCustomRule_Live\".\"ID\" = $ruleID"); + $this->assertEmpty($liveRule); } public function testUnpublishing()