Skip to content

Commit

Permalink
Update expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspertey committed Nov 13, 2024
1 parent a681a41 commit be2b6d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/Command/ListTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use Illuminate\Support\Arr;
use Lunarstorm\LaravelDDD\Support\Path;

beforeEach(function () {
Expand Down Expand Up @@ -38,9 +39,10 @@

$this
->artisan('ddd:list')
->expectsTable([
->expectsOutputToContain(...[
'Domain',
'Namespace',
'Path',
], $expectedTableContent);
...Arr::flatten($expectedTableContent),
]);
});

0 comments on commit be2b6d8

Please sign in to comment.