Skip to content

Commit

Permalink
Merge pull request #371 from ergebnis/fix/required
Browse files Browse the repository at this point in the history
Fix: Method names
  • Loading branch information
ergebnis-bot committed Aug 5, 2020
2 parents 9be9729 + a3077f4 commit 3c640e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/Unit/FieldDefinitionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function testOptionalReferenceReturnsOptionalReference(): void
*
* @param int $value
*/
public function testReferencesReturnsRequiredReferencesWhenCountIsSpecified(int $value): void
public function testReferencesReturnsReferencesWhenCountIsSpecified(int $value): void
{
$className = Entity\User::class;

Expand Down
8 changes: 4 additions & 4 deletions test/Unit/FixtureFactory/UsingDefaultStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public function testCreateOneResolvesRequiredReferenceToEntityWhenFakerReturnsTr
*
* @param int $value
*/
public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsExact(int $value): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsExact(int $value): void
{
$fixtureFactory = new FixtureFactory(
self::entityManager(),
Expand Down Expand Up @@ -234,7 +234,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
*
* @param int $value
*/
public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsExact(int $value): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsExact(int $value): void
{
$fixtureFactory = new FixtureFactory(
self::entityManager(),
Expand All @@ -261,7 +261,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
self::assertCount($value, $repositories);
}

public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsBetween(): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsBetween(): void
{
$faker = self::faker();

Expand Down Expand Up @@ -295,7 +295,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
self::assertLessThanOrEqual($maximum, \count($organization->repositories()));
}

public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsBetween(): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsBetween(): void
{
$faker = self::faker();

Expand Down
8 changes: 4 additions & 4 deletions test/Unit/FixtureFactory/UsingWithOptionalStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public function testCreateOneResolvesRequiredReferenceToEntityWhenFakerReturnsTr
*
* @param int $value
*/
public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsExact(int $value): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsExact(int $value): void
{
$fixtureFactory = new FixtureFactory(
self::entityManager(),
Expand Down Expand Up @@ -253,7 +253,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
*
* @param int $value
*/
public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsExact(int $value): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsExact(int $value): void
{
$fixtureFactory = new FixtureFactory(
self::entityManager(),
Expand Down Expand Up @@ -282,7 +282,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
self::assertCount($value, $repositories);
}

public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsBetween(): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsFalseAndCountIsBetween(): void
{
$faker = self::faker();

Expand Down Expand Up @@ -318,7 +318,7 @@ public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntiti
self::assertLessThanOrEqual($maximum, \count($organization->repositories()));
}

public function testCreateOneResolvesRequiredReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsBetween(): void
public function testCreateOneResolvesReferencesToArrayCollectionOfEntitiesWhenFakerReturnsTrueAndCountIsBetween(): void
{
$faker = self::faker();

Expand Down

0 comments on commit 3c640e2

Please sign in to comment.