From 8dfd9ce148136d190c0ce712a8ce1036ba3f1cb3 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:40:19 +1200 Subject: [PATCH] API Use new names for renamed classes (#98) --- src/IFramePage.php | 4 ++-- tests/IFramePageTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;