Skip to content

Commit

Permalink
Remove redundant test
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Jan 11, 2023
1 parent 3a12ee4 commit 6388728
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions test/ConfigProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,10 @@
/** @covers \Mezzio\Helper\ConfigProvider */
final class ConfigProviderTest extends TestCase
{
private ConfigProvider $provider;

protected function setUp(): void
{
parent::setUp();

$this->provider = new ConfigProvider();
}

public function testInvocationReturnsArray(): array
public function testReturnedArrayContainsDependencies(): void
{
$config = ($this->provider)();
$config = (new ConfigProvider())();

/** @psalm-suppress RedundantCondition */
self::assertIsArray($config);

return $config;
}

/**
* @depends testInvocationReturnsArray
*/
public function testReturnedArrayContainsDependencies(array $config): void
{
self::assertSame([
'dependencies' => [
'invokables' => [
Expand Down

0 comments on commit 6388728

Please sign in to comment.