Skip to content
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.

Commit

Permalink
Fix for broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hassankhan committed Mar 16, 2016
1 parent 9d9ab37 commit 1c77d49
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/Http/UrlParserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getPath(UriInterface $uri)
}

/**
* Gets the query parameter from a ``UriInterface`` instance.
* Gets the query parameters as an array from a ``UriInterface`` instance.
*
* @param UriInterface $uri
* @param array $exclude
Expand Down
30 changes: 15 additions & 15 deletions tests/Container/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ public function testRegisterProviders()
$this->assertTrue($container->has(ProviderInterface::class));
$this->assertTrue($container->has(AdapterInterface::class));

$this->assertTrue($container->has('entity.user'));
$this->assertTrue($container->has('entity.media'));
$this->assertTrue($container->has('entity.comment'));
$this->assertTrue($container->has('entity.like'));
$this->assertTrue($container->has('entity.tag'));
$this->assertTrue($container->has('repo.user'));
$this->assertTrue($container->has('repo.media'));
$this->assertTrue($container->has('repo.comment'));
$this->assertTrue($container->has('repo.like'));
$this->assertTrue($container->has('repo.tag'));
}

/**
Expand All @@ -103,11 +103,11 @@ public function testRegisterNoProviders()
$this->assertFalse($container->has(ProviderInterface::class));
$this->assertFalse($container->has(AdapterInterface::class));

$this->assertFalse($container->has('entity.user'));
$this->assertFalse($container->has('entity.media'));
$this->assertFalse($container->has('entity.comment'));
$this->assertFalse($container->has('entity.like'));
$this->assertFalse($container->has('entity.tag'));
$this->assertFalse($container->has('repo.user'));
$this->assertFalse($container->has('repo.media'));
$this->assertFalse($container->has('repo.comment'));
$this->assertFalse($container->has('repo.like'));
$this->assertFalse($container->has('repo.tag'));
}

/**
Expand All @@ -129,11 +129,11 @@ public function testRegisterDefaultProviders()
$this->assertTrue($container->has(ProviderInterface::class));
$this->assertTrue($container->has(AdapterInterface::class));

$this->assertTrue($container->has('entity.user'));
$this->assertTrue($container->has('entity.media'));
$this->assertTrue($container->has('entity.comment'));
$this->assertTrue($container->has('entity.like'));
$this->assertTrue($container->has('entity.tag'));
$this->assertTrue($container->has('repo.user'));
$this->assertTrue($container->has('repo.media'));
$this->assertTrue($container->has('repo.comment'));
$this->assertTrue($container->has('repo.like'));
$this->assertTrue($container->has('repo.tag'));
}

private function createMockProvider($provider)
Expand Down

0 comments on commit 1c77d49

Please sign in to comment.