Skip to content
Permalink
Browse files

Increase coverage in Collections tests

  • Loading branch information...
bastianallgeier committed Jun 20, 2019
1 parent 3232736 commit 36456d3791045ca054dcc3fd4cebf09168744444
Showing with 7 additions and 2 deletions.
  1. +7 −2 tests/Cms/Collections/CollectionsTest.php
@@ -13,12 +13,17 @@ protected function _app()
]);
}
public function testGet()
public function testGetAndCall()
{
$app = $this->_app();
$collection = new Collection();
$result = $app->collections()->get('test');
// get
$result = $app->collections()->get('test');
$this->assertEquals($collection, $result);
// __call
$result = $app->collections()->test();
$this->assertEquals($collection, $result);
}

0 comments on commit 36456d3

Please sign in to comment.
You can’t perform that action at this time.