fix dataset key

This commit is contained in:
nuno maduro
2026-08-03 16:47:34 -04:00
parent 7d187dd50a
commit 3223d50607
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -542,3 +542,9 @@ test('dataset items can mix named and sequential styles', function (string $name
['James', 'james@laravel.com'],
['James', 'email' => 'james@laravel.com'],
]);
test('named parameters work with a single argument', function (string $name) {
expect($name)->toBe('Taylor');
})->with([
['name' => 'Taylor'],
]);