Skip to content

Commit

Permalink
Preform phpunit suggested rename of assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram Wubs committed Apr 23, 2020
1 parent 55d90eb commit 26a9406
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Integration/Console/IdeHelperCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ public function testGeneratesSchemaDirectives(): void
$this->assertStringStartsWith(IdeHelperCommand::GENERATED_NOTICE, $generated);
$this->assertStringEndsWith("\n", $generated);

$this->assertContains(
$this->assertStringContainsString(
FieldDirective::definition(),
$generated,
'Generates definition for built-in directives'
);
$this->assertContains(FieldDirective::class, $generated);
$this->assertStringContainsString(FieldDirective::class, $generated);

$this->assertContains(
$this->assertStringContainsString(
UnionDirective::definition(),
$generated,
'Overwrites definitions through custom namespaces'
);
$this->assertContains(UnionDirective::class, $generated);
$this->assertStringContainsString(UnionDirective::class, $generated);
}
}

0 comments on commit 26a9406

Please sign in to comment.