diff --git a/src/cli/tests/Flow/CLI/Tests/Integration/FileReadCommandTest.php b/src/cli/tests/Flow/CLI/Tests/Integration/FileReadCommandTest.php index 7bdb2ba1a..847afa5e1 100644 --- a/src/cli/tests/Flow/CLI/Tests/Integration/FileReadCommandTest.php +++ b/src/cli/tests/Flow/CLI/Tests/Integration/FileReadCommandTest.php @@ -45,15 +45,15 @@ public function test_read_rows_json() : void self::assertStringContainsString( <<<'OUTPUT' -+----------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ -| order_id | created_at | updated_at | cancelled_at | total_price | discount | customer | address | notes | -+----------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ -| [] | 2023-10-02T23:59:16+ | 2023-10-10T11:43:41+ | | 170.05 | 32.09 | {"name":"Adah","last | {"street":"73121 Swi | ["Sit dolor quas aut | -| [] | 2023-05-20T08:59:30+ | 2023-10-12T03:24:25+ | | 239.94 | 47.79 | {"name":"Kasandra"," | {"street":"5864 Kael | ["Architecto quod cu | -| [] | 2023-05-13T13:56:02+ | 2023-09-28T10:27:33+ | | 148.38 | 3.08 | {"name":"Shaina","la | {"street":"651 Okune | ["Sit voluptates sin | -| [] | 2023-10-03T00:27:46+ | 2023-10-10T07:59:28+ | | 384.49 | 7.88 | {"name":"Dane","last | {"street":"7465 Spor | ["Id illo autem eaqu | -| [] | 2023-08-06T21:54:08+ | 2023-10-05T13:15:17+ | | 265.44 | 32.37 | {"name":"Mireille"," | {"street":"671 Korbi | ["Dolorem accusantiu | -+----------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ ++----------------------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ +| order_id | created_at | updated_at | cancelled_at | total_price | discount | customer | address | notes | ++----------------------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ +| e5e0299f-152e-4c1b-b | 2023-10-02T23:59:16+ | 2023-10-10T11:43:41+ | | 170.05 | 32.09 | {"name":"Adah","last | {"street":"73121 Swi | ["Sit dolor quas aut | +| 139aa6b6-872b-47a8-b | 2023-05-20T08:59:30+ | 2023-10-12T03:24:25+ | | 239.94 | 47.79 | {"name":"Kasandra"," | {"street":"5864 Kael | ["Architecto quod cu | +| 35d90c5c-c524-4b24-a | 2023-05-13T13:56:02+ | 2023-09-28T10:27:33+ | | 148.38 | 3.08 | {"name":"Shaina","la | {"street":"651 Okune | ["Sit voluptates sin | +| e84a65ff-4438-4275-8 | 2023-10-03T00:27:46+ | 2023-10-10T07:59:28+ | | 384.49 | 7.88 | {"name":"Dane","last | {"street":"7465 Spor | ["Id illo autem eaqu | +| 86f3d0ca-a047-4866-9 | 2023-08-06T21:54:08+ | 2023-10-05T13:15:17+ | | 265.44 | 32.37 | {"name":"Mireille"," | {"street":"671 Korbi | ["Dolorem accusantiu | ++----------------------+----------------------+----------------------+--------------+-------------+----------+----------------------+----------------------+----------------------+ 5 rows OUTPUT, $tester->getDisplay() diff --git a/src/cli/tests/Flow/CLI/Tests/Integration/FileSchemaCommandTest.php b/src/cli/tests/Flow/CLI/Tests/Integration/FileSchemaCommandTest.php index 6ea530c8d..7730c981e 100644 --- a/src/cli/tests/Flow/CLI/Tests/Integration/FileSchemaCommandTest.php +++ b/src/cli/tests/Flow/CLI/Tests/Integration/FileSchemaCommandTest.php @@ -201,7 +201,7 @@ public function test_run_schema_with_table_output_on_json() : void +--------------+-----------+----------+-------------+----------+ | name | type | nullable | scalar_type | metadata | +--------------+-----------+----------+-------------+----------+ -| order_id | array | false | | [] | +| order_id | uuid | false | | [] | | created_at | datetime | false | | [] | | updated_at | datetime | false | | [] | | cancelled_at | scalar | true | string | [] |