Skip to content

Commit

Permalink
A few more
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Jun 21, 2024
1 parent 31de9b1 commit c24f882
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 20 deletions.
3 changes: 1 addition & 2 deletions tests/Feature/GraphQL/Fieldtypes/GridFieldtypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ public function it_outputs_grid_fields()
]]);
}

#[Test]
/**
* @test
*
* @see https://github.com/statamic/cms/issues/3200
**/
public function it_outputs_nested_grid_fields()
Expand Down
3 changes: 1 addition & 2 deletions tests/Feature/GraphQL/Fieldtypes/ReplicatorFieldtypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,8 @@ public function it_outputs_nested_replicator_fields()
]]);
}

#[Test]
/**
* @test
*
* @see https://github.com/statamic/cms/issues/3200
**/
public function it_outputs_replicator_fields_with_value_based_subfields()
Expand Down
3 changes: 1 addition & 2 deletions tests/Fields/FieldTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,8 @@ public function it_doesnt_remove_max_items_from_form_fieldtype()
], $fromVue['field']);
}

#[Test]
/**
* @test
*
* @see https://github.com/statamic/cms/issues/10050
*/
public function it_ensures_the_asset_container_is_saved_on_the_assets_fieldtype()
Expand Down
12 changes: 3 additions & 9 deletions tests/Fields/FieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1003,9 +1003,7 @@ public function it_sets_the_parentfield_on_all_fields()
$this->assertEquals('foo', $collection['two']->parentField());
}

/**
* @test
*/
#[Test]
public function it_sets_the_parentindex_on_all_fields()
{
$fields = new Fields([
Expand All @@ -1023,9 +1021,7 @@ public function it_sets_the_parentindex_on_all_fields()
$this->assertEquals(1, $collection['two']->parentIndex());
}

/**
* @test
*/
#[Test]
public function it_sets_the_parentfield_and_parentindex_on_imported_fields()
{
$fieldset = (new Fieldset)->setHandle('partial')->setContents([
Expand All @@ -1050,9 +1046,7 @@ public function it_sets_the_parentfield_and_parentindex_on_imported_fields()
$this->assertEquals(1, $collection['bar']->parentIndex());
}

/**
* @test
*/
#[Test]
public function it_sets_the_parentfield_and_parentindex_on_referenced_fields()
{
$fieldset = (new Fieldset)->setHandle('partial')->setContents([
Expand Down
4 changes: 1 addition & 3 deletions tests/Fieldtypes/GridTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,9 +529,7 @@ public function it_converts_a_queryable_value()
$this->assertEquals([['foo' => 'bar']], (new Grid)->toQueryableValue([['foo' => 'bar']]));
}

/**
* @test
*/
#[Test]
public function it_generates_field_path_prefix()
{
$fieldtype = new class extends Fieldtype
Expand Down
3 changes: 1 addition & 2 deletions tests/Modifiers/BackspaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ public function it_removes_no_chars(): void
$this->assertEquals('super', $modified);
}

#[Test]
/**
* @test
*
* @todo This originates from substr(). Is this the intended behaviour for the modifier?
*/
public function it_returns_empty_string_when_passing_zero(): void
Expand Down

0 comments on commit c24f882

Please sign in to comment.