diff --git a/src/IFramePage.php b/src/IFramePage.php index f49c63d..95bdc63 100644 --- a/src/IFramePage.php +++ b/src/IFramePage.php @@ -7,8 +7,8 @@ use SilverStripe\Forms\DropdownField; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\TextField; use SilverStripe\ORM\FieldType\DBField; -use SilverStripe\ORM\ValidationException; -use SilverStripe\ORM\ValidationResult; +use SilverStripe\Core\Validation\ValidationException; +use SilverStripe\Core\Validation\ValidationResult; /** * Iframe page type embeds an iframe of URL of choice into the page. diff --git a/tests/IFramePageTest.php b/tests/IFramePageTest.php index fb5d0dd..621f168 100644 --- a/tests/IFramePageTest.php +++ b/tests/IFramePageTest.php @@ -4,7 +4,7 @@ namespace SilverStripe\IFrame\Tests; use SilverStripe\Core\Config\Config; use SilverStripe\Control\Director; -use SilverStripe\ORM\ValidationException; +use SilverStripe\Core\Validation\ValidationException; use SilverStripe\Dev\SapphireTest; use SilverStripe\IFrame\IFramePage; use SilverStripe\IFrame\IFramePageController;