diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2ca7b057..bfcb531f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,11 +19,11 @@ jobs: laravel: [12.*] stability: [prefer-lowest, prefer-stable] os: [ubuntu-latest] - include: - - os: windows-latest - php: 8.5 - laravel: 12.* - stability: prefer-stable +# include: +# - os: windows-latest +# php: 8.5 +# laravel: 12.* +# stability: prefer-stable name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/tests/Http/Controllers/CP/ResourceControllerTest.php b/tests/Http/Controllers/CP/ResourceControllerTest.php index fb5a8f49..e493b312 100644 --- a/tests/Http/Controllers/CP/ResourceControllerTest.php +++ b/tests/Http/Controllers/CP/ResourceControllerTest.php @@ -322,6 +322,7 @@ public function can_edit_resource_with_simple_date_field() 'time_enabled' => false, 'time_required' => false, ])); + Blueprint::shouldReceive('getAdditionalNamespaces')->andReturn(collect(['runway' => base_path('resources/blueprints/runway')]))->zeroOrMoreTimes(); $user = User::make()->makeSuper()->save(); $post = Post::factory()->create(); @@ -360,6 +361,7 @@ public function can_edit_resource_with_date_field_with_default_format() 'time_enabled' => false, 'time_required' => false, ])); + Blueprint::shouldReceive('getAdditionalNamespaces')->andReturn(collect(['runway' => base_path('resources/blueprints/runway')]))->zeroOrMoreTimes(); $post = Post::factory()->create(); $user = User::make()->makeSuper()->save(); @@ -398,6 +400,7 @@ public function can_edit_resource_with_date_field_with_custom_format() 'time_enabled' => true, 'time_required' => false, ])); + Blueprint::shouldReceive('getAdditionalNamespaces')->andReturn(collect(['runway' => base_path('resources/blueprints/runway')]))->zeroOrMoreTimes(); $post = Post::factory()->create(); $user = User::make()->makeSuper()->save();