Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed May 16, 2024
1 parent 98df2ff commit 6d67f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
'ring-1 ring-gray-950/10 dark:ring-white/20' => (($color === 'gray') || ($tag === 'label')) && (! $grouped),
'bg-custom-600 text-white hover:bg-custom-500 focus-visible:ring-custom-500/50 dark:bg-custom-500 dark:hover:bg-custom-400 dark:focus-visible:ring-custom-400/50' => ($color !== 'gray') && ($tag !== 'label'),
'[input:checked+&]:bg-custom-600 [input:checked+&]:text-white [input:checked+&]:ring-0 [input:checked+&]:hover:bg-custom-500 dark:[input:checked+&]:bg-custom-500 dark:[input:checked+&]:hover:bg-custom-400 [input:checked:focus-visible+&]:ring-custom-500/50 dark:[input:checked:focus-visible+&]:ring-custom-400/50 [input:focus-visible+&]:z-10 [input:focus-visible+&]:ring-2 [input:focus-visible+&]:ring-gray-950/10 dark:[input:focus-visible+&]:ring-white/20' => ($color !== 'gray') && ($tag === 'label'),
]
]
),
]);
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Panels/Fixtures/Resources/PostResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public static function form(Form $form): Form
{
return $form
->schema([
TextInput::make('title')->required(),
Forms\Components\TextInput::make('title')->required(),
Forms\Components\MarkdownEditor::make('content'),
Forms\Components\Select::make('author_id')
->relationship('author', 'name')
->required(),
Forms\Components\TagsInput::make('tags'),
TextInput::make('rating')
Forms\Components\TextInput::make('rating')
->numeric()
->required(),
]);
Expand Down

0 comments on commit 6d67f49

Please sign in to comment.