From 28581cae43bea593cbad9a1febe3547909998371 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Mon, 16 Oct 2017 14:32:44 +1300 Subject: [PATCH] Update path --- .upgrade.yml | 2 +- tests/Control/UserDefinedFormControllerTest.php | 2 +- tests/Form/UserFormTest.php | 2 +- .../Tests/{Model => Control}/UserDefinedFormControllerTest.ss | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename tests/templates/SilverStripe/UserForms/Tests/{Model => Control}/UserDefinedFormControllerTest.ss (100%) diff --git a/.upgrade.yml b/.upgrade.yml index daaf909..7ae535e 100644 --- a/.upgrade.yml +++ b/.upgrade.yml @@ -47,7 +47,7 @@ mappings: UserFormTest: SilverStripe\UserForms\Tests\Form\UserFormTest UserFormsCheckboxSetFieldTest: SilverStripe\UserForms\Tests\FormField\UserFormsCheckboxSetFieldTest EditableCustomRuleTest: SilverStripe\UserForms\Tests\Model\EditableCustomRuleTest - UserDefinedFormControllerTest: SilverStripe\UserForms\Tests\Model\UserDefinedFormControllerTest + UserDefinedFormControllerTest: SilverStripe\UserForms\Tests\Control\UserDefinedFormControllerTest UserDefinedFormTest: SilverStripe\UserForms\Tests\Model\UserDefinedFormTest EditableDropdownTest: SilverStripe\UserForms\Tests\Model\EditableFormField\EditableDropdownTest EditableFileFieldTest: SilverStripe\UserForms\Tests\Model\EditableFormField\EditableFileFieldTest diff --git a/tests/Control/UserDefinedFormControllerTest.php b/tests/Control/UserDefinedFormControllerTest.php index deaa004..630913f 100644 --- a/tests/Control/UserDefinedFormControllerTest.php +++ b/tests/Control/UserDefinedFormControllerTest.php @@ -13,7 +13,7 @@ use SilverStripe\Security\Member; use SilverStripe\UserForms\Model\EditableFormField\EditableTextField; use SilverStripe\UserForms\Model\Submission\SubmittedFormField; use SilverStripe\UserForms\Model\UserDefinedForm; -use SilverStripe\UserForms\Model\UserDefinedFormController; +use SilverStripe\UserForms\Control\UserDefinedFormController; use SilverStripe\View\ArrayData; use SilverStripe\View\SSViewer; diff --git a/tests/Form/UserFormTest.php b/tests/Form/UserFormTest.php index 650baad..4956301 100644 --- a/tests/Form/UserFormTest.php +++ b/tests/Form/UserFormTest.php @@ -9,7 +9,7 @@ use SilverStripe\UserForms\Form\UserForm; class UserFormTest extends SapphireTest { - protected static $fixture_file = '../Model/UserDefinedFormTest.yml'; + protected static $fixture_file = '../UserFormsTest.yml'; /** * Tests that a form will not generate empty pages diff --git a/tests/templates/SilverStripe/UserForms/Tests/Model/UserDefinedFormControllerTest.ss b/tests/templates/SilverStripe/UserForms/Tests/Control/UserDefinedFormControllerTest.ss similarity index 100% rename from tests/templates/SilverStripe/UserForms/Tests/Model/UserDefinedFormControllerTest.ss rename to tests/templates/SilverStripe/UserForms/Tests/Control/UserDefinedFormControllerTest.ss