From 9b817221df5b0b80ccf992dce32d93842b517004 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Fri, 11 Oct 2024 10:16:36 +1300 Subject: [PATCH] FIX Change type to Int --- code/BasicFieldsTestPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/BasicFieldsTestPage.php b/code/BasicFieldsTestPage.php index 79caf29..b54e847 100644 --- a/code/BasicFieldsTestPage.php +++ b/code/BasicFieldsTestPage.php @@ -71,7 +71,7 @@ class BasicFieldsTestPage extends TestPage 'TimeHTML5' => 'Time', 'ToggleCompositeTextField1' => 'Varchar', 'ToggleCompositeDropdownField' => 'Varchar', - 'Validated' => 'Text', + 'Validated' => 'Int', ); private static $has_one = array( @@ -187,7 +187,7 @@ class BasicFieldsTestPage extends TestPage 'Time' => "23:59", 'TimeHTML5' => "23:59", 'ToggleCompositeTextField1' => 'My value (รค!)', - 'Validated' => '1', + 'Validated' => 1, ); }