Skip to content

Commit

Permalink
zendframework#6266 - Verifying that the service manager is registered…
Browse files Browse the repository at this point in the history
… as a service in itself
  • Loading branch information
Ocramius committed May 20, 2014
1 parent 2db90e4 commit b096b36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/ZendTest/Mvc/Service/ServiceManagerConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,12 @@ function (ServiceLocatorInterface $serviceLocator, $name, $requestedName, $callb
$this->assertInstanceOf('stdClass', $std);
$this->assertEquals('baz', $std->bar);
}

/**
* @group 6266
*/
public function testDefinesServiceManagerService()
{
$this->assertSame($this->services, $this->services->get('ServiceManager'));
}
}

0 comments on commit b096b36

Please sign in to comment.