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

Commit

Permalink
renamed alias to named [service]
Browse files Browse the repository at this point in the history
  • Loading branch information
arren-ru authored and idr0id committed Dec 1, 2017
1 parent b4f16e6 commit c821d75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/src/Container/ConstructorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testClass()
$this->assertInstanceOf(Foo::class, $entry->getFoo());
}

public function testAlias()
public function testNamedService()
{
// arrange
$container = new Container([
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Container/DependencyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testClassDependency()
$this->assertNull($entry->getFoo());
}

public function testAliasDependency()
public function testNamedDependency()
{
// arrange
$container = new Container([
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Container/ScalarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function testMixedWithService()
$this->assertInstanceOf(Foo::class, $entry->getValue());
}

public function testMixedWithAlias()
public function testMixedWithNamesService()
{
$container = new Container([
'foo' => [
Expand Down Expand Up @@ -102,7 +102,7 @@ public function testStringWithService()
$this->assertEquals(Foo::class, $entry->getValue());
}

public function testStringWithAlias()
public function testStringWithNamesService()
{
$container = new Container([
'foo' => [
Expand Down

0 comments on commit c821d75

Please sign in to comment.