From 3988dcc18a66291431af0ee6646b382dc5023ef7 Mon Sep 17 00:00:00 2001 From: niqingyang Date: Sun, 10 Dec 2023 00:41:26 +0800 Subject: [PATCH] implement the interface ArrayableInterface for BaseActiveRecord --- tests/Driver/Oracle/ActiveRecordTest.php | 1 + tests/Driver/Pgsql/ActiveRecordTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/Driver/Oracle/ActiveRecordTest.php b/tests/Driver/Oracle/ActiveRecordTest.php index 14f6f24d4..af0094387 100644 --- a/tests/Driver/Oracle/ActiveRecordTest.php +++ b/tests/Driver/Oracle/ActiveRecordTest.php @@ -183,6 +183,7 @@ public function testToArrayForArrayable(): void 'name' => 'user1', 'address' => 'address1', 'status' => 'active', + 'bool_status' => '1', 'profile_id' => 1, ], ArrayHelper::toArray($customer), diff --git a/tests/Driver/Pgsql/ActiveRecordTest.php b/tests/Driver/Pgsql/ActiveRecordTest.php index f6357ad84..e357fcf8c 100644 --- a/tests/Driver/Pgsql/ActiveRecordTest.php +++ b/tests/Driver/Pgsql/ActiveRecordTest.php @@ -398,6 +398,7 @@ public function testToArrayForArrayable(): void 'name' => 'user1', 'address' => 'address1', 'status' => 'active', + 'bool_status' => true, 'profile_id' => 1, ], ArrayHelper::toArray($customer),