Skip to content

Commit

Permalink
more ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Nov 12, 2021
1 parent bed3f48 commit e87bf30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/init-app.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
// assert no test sets app/global GET sticky
$appSticky = array_diff_assoc(
\Closure::bind(fn () => $app->sticky_get_arguments, null, \Atk4\Ui\App::class)(),
['__atk_json' => false, '__atk_tab' => false]
['__atk_json' => false, '__atk_tab' => false, 'APP_CALL_EXIT' => true, 'APP_CATCH_EXCEPTIONS' => true]
);
if ($appSticky !== []) {
ob_end_clean();
Expand Down
2 changes: 1 addition & 1 deletion tests/DemosTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected function getClient(): Client
// assert no test sets app/global GET sticky
$appSticky = array_diff_assoc(
\Closure::bind(fn () => $app->sticky_get_arguments, null, App::class)(),
['__atk_json' => false, '__atk_tab' => false]
['__atk_json' => false, '__atk_tab' => false, 'APP_CALL_EXIT' => true, 'APP_CATCH_EXCEPTIONS' => true]
);
if ($appSticky !== []) {
throw (new \Atk4\Ui\Exception('Global GET sticky must never be set by any component'))
Expand Down

0 comments on commit e87bf30

Please sign in to comment.