More cleanup and php doc stuff.

This commit is contained in:
James Cole
2014-08-10 18:22:42 +02:00
parent d0a30f71cd
commit 80c1184eac
55 changed files with 342 additions and 11 deletions

View File

@@ -7,6 +7,9 @@ use Zizaco\FactoryMuff\Facade\FactoryMuff as f;
/**
* Class CategoryControllerTest
*
* @SuppressWarnings(PHPMD.TooManyMethods)
* @SuppressWarnings(PHPMD.CamelCasePropertyName)
*/
class CategoryControllerTest extends TestCase
{
@@ -100,6 +103,7 @@ class CategoryControllerTest extends TestCase
{
$category = f::create('Category');
$collection = new Collection();
$collection->add($category);
$this->_repository->shouldReceive('get')->with()->once()->andReturn($collection);
$this->action('GET', 'CategoryController@index');