From ff84ef1379207e728ecab6578fcae7b1bec33f12 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 7 Nov 2023 12:25:56 +0100 Subject: [PATCH] Fix ParentModel change --- tests/VirtualColumnTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/VirtualColumnTest.php b/tests/VirtualColumnTest.php index c7af2b0..0d5dd6c 100644 --- a/tests/VirtualColumnTest.php +++ b/tests/VirtualColumnTest.php @@ -183,6 +183,15 @@ class MyModel extends ParentModel class FooModel extends ParentModel { + public function getCustomColumns(): array + { + return [ + 'id', + 'custom1', + 'custom2', + ]; + } + public function getDataColumn(): string { return 'virtual';