diff --git a/stubs/test.blade.php b/stubs/test.blade.php index dde01939..b809f798 100644 --- a/stubs/test.blade.php +++ b/stubs/test.blade.php @@ -201,6 +201,13 @@ public static function getSearchFilters(): array ], 'fixture' => 'search_by_page_per_page', ], + [ + 'filter' => [ + 'order_by' => 'id', + 'desc' => true, + ], + 'fixture' => 'search_by_order_id', + ], ]; } diff --git a/tests/fixtures/CommandTest/subfolder/test.php b/tests/fixtures/CommandTest/subfolder/test.php index 20b14604..fd21bdaa 100644 --- a/tests/fixtures/CommandTest/subfolder/test.php +++ b/tests/fixtures/CommandTest/subfolder/test.php @@ -107,6 +107,13 @@ public static function getSearchFilters(): array ], 'fixture' => 'search_by_page_per_page', ], + [ + 'filter' => [ + 'order_by' => 'id', + 'desc' => true, + ], + 'fixture' => 'search_by_order_id', + ], ]; } diff --git a/tests/fixtures/CommandTest/test.php b/tests/fixtures/CommandTest/test.php index 86425bde..8a9839b7 100644 --- a/tests/fixtures/CommandTest/test.php +++ b/tests/fixtures/CommandTest/test.php @@ -107,6 +107,13 @@ public static function getSearchFilters(): array ], 'fixture' => 'search_by_page_per_page', ], + [ + 'filter' => [ + 'order_by' => 'id', + 'desc' => true, + ], + 'fixture' => 'search_by_order_id', + ], ]; } diff --git a/tests/fixtures/TestGeneratorTest/post_test.php b/tests/fixtures/TestGeneratorTest/post_test.php index b1450c9a..c8b5a45d 100644 --- a/tests/fixtures/TestGeneratorTest/post_test.php +++ b/tests/fixtures/TestGeneratorTest/post_test.php @@ -146,6 +146,13 @@ public static function getSearchFilters(): array ], 'fixture' => 'search_by_page_per_page', ], + [ + 'filter' => [ + 'order_by' => 'id', + 'desc' => true, + ], + 'fixture' => 'search_by_order_id', + ], ]; } diff --git a/tests/fixtures/TestGeneratorTest/post_test_read_delete.php b/tests/fixtures/TestGeneratorTest/post_test_read_delete.php index acfdb284..2ef93cf7 100644 --- a/tests/fixtures/TestGeneratorTest/post_test_read_delete.php +++ b/tests/fixtures/TestGeneratorTest/post_test_read_delete.php @@ -88,6 +88,13 @@ public static function getSearchFilters(): array ], 'fixture' => 'search_by_page_per_page', ], + [ + 'filter' => [ + 'order_by' => 'id', + 'desc' => true, + ], + 'fixture' => 'search_by_order_id', + ], ]; }