New (empty) tests for models.

This commit is contained in:
James Cole
2015-05-24 10:01:00 +02:00
parent bf6ea16acb
commit 8f2f912cdf
7 changed files with 274 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ class ChartCategoryControllerTest extends TestCase
$category = FactoryMuffin::create('FireflyIII\Models\Category');
$this->be($category->user);
$this->call('GET', '/chart/category/'.$category->id.'/all');
$this->call('GET', '/chart/category/' . $category->id . '/all');
$this->assertResponseOk();
@@ -76,7 +76,7 @@ class ChartCategoryControllerTest extends TestCase
$category = FactoryMuffin::create('FireflyIII\Models\Category');
$this->be($category->user);
$this->call('GET', '/chart/category/'.$category->id.'/month');
$this->call('GET', '/chart/category/' . $category->id . '/month');
$this->assertResponseOk();
}