Skip to content

Commit

Permalink
temporarly remove inertia
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 14, 2025
1 parent e8b3256 commit aa4d78a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"require-dev" : {
"fakerphp/faker": "^1.14",
"friendsofphp/php-cs-fixer": "^3.0",
"inertiajs/inertia-laravel": "^1.2|^2.0",
"larastan/larastan": "^2.7",
"livewire/livewire": "^3.0",
"mockery/mockery": "^1.6",
Expand Down
2 changes: 1 addition & 1 deletion tests/CreationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ class TestAutoLazyClassAttributeData extends Data

expect($data->string)->toBeInstanceOf(InertiaLazy::class);
expect($data->toArray()['string'])->toBeInstanceOf(LazyProp::class);
});
})->skip('Re-enable test after Inertia supports Laravel 12');

it('can use auto lazy to construct a closure lazy', function () {
$dataClass = new class () extends Data {
Expand Down
4 changes: 2 additions & 2 deletions tests/Resolvers/VisibleDataFieldsResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public static function create(string $name): static
};

expect($dataClass::create('Freek')->toArray()['name'])->toBeInstanceOf(LazyProp::class);
});
})->skip('Re-enable test after Inertia supports Laravel 12');

it('always transforms closure lazy into closures for inertia', function () {
$dataClass = new class () extends Data {
Expand All @@ -231,7 +231,7 @@ public static function create(string $name): static
};

expect($dataClass::create('Freek')->toArray()['name'])->toBeInstanceOf(Closure::class);
});
})->skip('Re-enable test after Inertia supports Laravel 12');;

it('will fail gracefully when a nested field does not exist', function () {
$dataClass = new class () extends Data {
Expand Down

0 comments on commit aa4d78a

Please sign in to comment.