Skip to content

Commit

Permalink
update event store for interop config 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Oct 21, 2015
1 parent eb4c488 commit de3c277
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -29,7 +29,7 @@
},
"require-dev": {
"container-interop/container-interop": "^1.1",
"sandrokeil/interop-config": "^0.3",
"sandrokeil/interop-config": "^0.3.1",
"phpunit/phpunit": "~4.8",
"fabpot/php-cs-fixer": "1.7.*",
"satooshi/php-coveralls": "dev-master",
Expand Down
16 changes: 0 additions & 16 deletions tests/Container/EventStoreFactoryTest.php
Expand Up @@ -45,22 +45,6 @@ public function it_creates_event_store_with_default_event_emitter()
$this->assertInstanceOf(ProophActionEventEmitter::class, $eventStore->getActionEventEmitter());
}

/**
* @test
* @expectedException Prooph\EventStore\Exception\ConfigurationException
* @expectedExceptionMessage Event store adapter is missing in configuration
*/
public function it_throws_exception_when_adapter_config_is_missing()
{
$config['prooph']['event_store'] = [];

$containerMock = $this->getMockForAbstractClass(ContainerInterface::class);
$containerMock->expects($this->at(0))->method('get')->with('config')->willReturn($config);

$factory = new EventStoreFactory();
$factory($containerMock);
}

/**
* @test
*/
Expand Down

0 comments on commit de3c277

Please sign in to comment.