Skip to content

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Oct 16, 2024
1 parent e080db1 commit cc670a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions src/cli/tests/Flow/CLI/Tests/Integration/FileReadCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 | [] |
Expand Down

0 comments on commit cc670a5

Please sign in to comment.