diff --git a/composer.json b/composer.json index 5bb18559af6..31009f2ce77 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "bacon/bacon-qr-code": "^3.0", "composer/semver": "^3.4", "guzzlehttp/guzzle": "^6.3 || ^7.0", - "inertiajs/inertia-laravel": "^2.0", + "inertiajs/inertia-laravel": "^2.0 || ^3.0", "intervention/image": "^3.9.1 || ^4.0", "james-heinrich/getid3": "^1.9.21", "laravel/framework": "^12.40.0 || ^13.0", diff --git a/tests/TestCase.php b/tests/TestCase.php index 41ea0c6541d..16930353a7e 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -107,6 +107,7 @@ protected function resolveApplicationConfiguration($app) protected function getEnvironmentSetUp($app) { $app['config']->set('inertia.testing.page_paths', [statamic_path('resources/js/pages')]); + $app['config']->set('inertia.pages.paths', [statamic_path('resources/js/pages')]); $app['config']->set('auth.providers.users.driver', 'statamic'); $app['config']->set('statamic.stache.watcher', false);