Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpoulter committed Oct 15, 2024
1 parent d3be5ab commit dcf2efc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/Fields/FieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public function it_can_be_nullable()

$this->assertNotContains('required', $this->field->rules);
$this->assertContains('nullable', $this->field->rules);
$this->assertFalse($this->field->isRequired(new NovaRequest()));
$this->assertFalse($this->field->isRequired(new NovaRequest));
}
}
2 changes: 1 addition & 1 deletion tests/Fields/FlaggedFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function it_resolves_enum_values()
/** @test */
public function it_fills_database_with_flagged_enum_value()
{
$request = new NovaRequest();
$request = new NovaRequest;
$request->query->add(['enum' => json_encode($this->values)]);

$this->field->fill($request, $this->model);
Expand Down
2 changes: 1 addition & 1 deletion tests/Fields/IntegerFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function it_displays_enum_description()
/** @test */
public function it_fills_database_with_enum_value()
{
$request = new NovaRequest();
$request = new NovaRequest;
$request->query->add(['enum' => IntegerEnum::Subscriber]);

$this->field->fill($request, $this->model);
Expand Down
2 changes: 1 addition & 1 deletion tests/Fields/NoCastsFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function it_displays_enum_description()
/** @test */
public function it_fills_database_with_enum_value()
{
$request = new NovaRequest();
$request = new NovaRequest;
$request->query->add(['enum' => StringEnum::Subscriber]);

$this->field->fill($request, $this->model);
Expand Down
2 changes: 1 addition & 1 deletion tests/Fields/StringFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function it_displays_enum_description()
/** @test */
public function it_fills_database_with_enum_value()
{
$request = new NovaRequest();
$request = new NovaRequest;
$request->query->add(['enum' => StringEnum::Subscriber]);

$this->field->fill($request, $this->model);
Expand Down

0 comments on commit dcf2efc

Please sign in to comment.