diff --git a/src/Application.php b/src/Application.php index 7082152d2..2cd33ec69 100644 --- a/src/Application.php +++ b/src/Application.php @@ -129,16 +129,6 @@ public function __construct( // @TODO response prototype? } - /** - * Retrieve the application configuration - * - * @return array|object - */ - public function getConfig() - { - return $this->container->get('config'); - } - /** * Bootstrap the application * diff --git a/test/ApplicationTest.php b/test/ApplicationTest.php index c56b8ffcd..e9a841ae1 100644 --- a/test/ApplicationTest.php +++ b/test/ApplicationTest.php @@ -115,17 +115,6 @@ public function testContainerIsPopulated() $this->assertSame($this->container->reveal(), $this->application->getContainer()); } - public function testConfigIsAProxyToContainer() - { - $this->container->get('config') - ->shouldBeCalled() - ->willReturn(['container' => 'config']); - $appConfig = $this->application->getConfig(); - $this->assertEquals( - ['container' => 'config'], - $appConfig - ); - } public function testEventsAreEmptyAtFirst() {