Various code cleanup.

This commit is contained in:
James Cole
2016-11-20 11:43:19 +01:00
parent 75a524c656
commit 94875adb6c
60 changed files with 544 additions and 563 deletions

View File

@@ -14,7 +14,6 @@ namespace FireflyIII\Generator\Chart\Budget;
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
use Navigation;
/** /**
* Class ChartJsBudgetChartGenerator * Class ChartJsBudgetChartGenerator

View File

@@ -23,13 +23,6 @@ use Illuminate\Support\Collection;
interface CategoryChartGeneratorInterface interface CategoryChartGeneratorInterface
{ {
/**
* @param array $data
*
* @return array
*/
public function pieChart(array $data): array;
/** /**
* @param Collection $entries * @param Collection $entries
* *
@@ -37,13 +30,6 @@ interface CategoryChartGeneratorInterface
*/ */
public function all(Collection $entries): array; public function all(Collection $entries): array;
/**
* @param array $entries
*
* @return array
*/
public function mainReportChart(array $entries): array;
/** /**
* @param Collection $categories * @param Collection $categories
* @param Collection $entries * @param Collection $entries
@@ -59,6 +45,13 @@ interface CategoryChartGeneratorInterface
*/ */
public function frontpage(Collection $entries): array; public function frontpage(Collection $entries): array;
/**
* @param array $entries
*
* @return array
*/
public function mainReportChart(array $entries): array;
/** /**
* @param Collection $entries * @param Collection $entries
* *
@@ -66,6 +59,13 @@ interface CategoryChartGeneratorInterface
*/ */
public function period(Collection $entries): array; public function period(Collection $entries): array;
/**
* @param array $data
*
* @return array
*/
public function pieChart(array $data): array;
/** /**
* @param Collection $categories * @param Collection $categories
* @param Collection $entries * @param Collection $entries

View File

@@ -64,6 +64,16 @@ class MonthReportGenerator implements ReportGeneratorInterface
return $this; return $this;
} }
/**
* @param Collection $categories
*
* @return ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/** /**
* @param Carbon $date * @param Carbon $date
* *
@@ -87,14 +97,4 @@ class MonthReportGenerator implements ReportGeneratorInterface
return $this; return $this;
} }
/**
* @param Collection $categories
*
* @return ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
} }

View File

@@ -43,11 +43,6 @@ interface JournalCollectorInterface
*/ */
public function getJournals(): Collection; public function getJournals(): Collection;
/**
* @return JournalCollectorInterface
*/
public function withOpposingAccount(): JournalCollectorInterface;
/** /**
* @return LengthAwarePaginator * @return LengthAwarePaginator
*/ */
@@ -136,6 +131,11 @@ interface JournalCollectorInterface
*/ */
public function setTypes(array $types): JournalCollectorInterface; public function setTypes(array $types): JournalCollectorInterface;
/**
* @return JournalCollectorInterface
*/
public function withOpposingAccount(): JournalCollectorInterface;
/** /**
* @return JournalCollectorInterface * @return JournalCollectorInterface
*/ */

View File

@@ -19,11 +19,9 @@ use FireflyIII\Helpers\Collection\Budget as BudgetCollection;
use FireflyIII\Helpers\Collection\BudgetLine; use FireflyIII\Helpers\Collection\BudgetLine;
use FireflyIII\Models\Budget; use FireflyIII\Models\Budget;
use FireflyIII\Models\LimitRepetition; use FireflyIII\Models\LimitRepetition;
use FireflyIII\Models\TransactionJournal;
use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface;
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
use Navigation; use Navigation;
use stdClass;
/** /**
* Class BudgetReportHelper * Class BudgetReportHelper

View File

@@ -184,7 +184,7 @@ class CategoryController extends Controller
$end = session('end', Navigation::endOfPeriod(new Carbon, $range)); $end = session('end', Navigation::endOfPeriod(new Carbon, $range));
$accounts = $accountRepository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]); $accounts = $accountRepository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]);
$hideCategory = true; // used in list. $hideCategory = true; // used in list.
$page = intval(Input::get('page')) === 0 ? 1 : intval(Input::get('page')); $page = intval(Input::get('page')) === 0 ? 1 : intval(Input::get('page'));
$pageSize = intval(Preferences::get('transactionPageSize', 50)->data); $pageSize = intval(Preferences::get('transactionPageSize', 50)->data);
$subTitle = $category->name; $subTitle = $category->name;
$subTitleIcon = 'fa-bar-chart'; $subTitleIcon = 'fa-bar-chart';
@@ -253,7 +253,7 @@ class CategoryController extends Controller
$end = Navigation::endOfPeriod($carbon, $range); $end = Navigation::endOfPeriod($carbon, $range);
$subTitle = $category->name; $subTitle = $category->name;
$hideCategory = true; // used in list. $hideCategory = true; // used in list.
$page = intval(Input::get('page')) === 0 ? 1 : intval(Input::get('page')); $page = intval(Input::get('page')) === 0 ? 1 : intval(Input::get('page'));
$pageSize = intval(Preferences::get('transactionPageSize', 50)->data); $pageSize = intval(Preferences::get('transactionPageSize', 50)->data);
// new collector: // new collector:

View File

@@ -252,7 +252,7 @@ class BudgetController extends Controller
// join them: // join them:
$result = []; $result = [];
foreach (array_keys($periods) as $period) { foreach (array_keys($periods) as $period) {
$nice = $periods[$period]; $nice = $periods[$period];
$result[$nice] = [ $result[$nice] = [
'spent' => isset($entries[$period]) ? $entries[$period] : '0', 'spent' => isset($entries[$period]) ? $entries[$period] : '0',
'budgeted' => isset($entries[$period]) ? $budgeted[$period] : 0, 'budgeted' => isset($entries[$period]) ? $budgeted[$period] : 0,

View File

@@ -299,16 +299,17 @@ class CategoryReportController extends Controller
/** @var Category $category */ /** @var Category $category */
foreach ($categories as $category) { foreach ($categories as $category) {
// get sum, and get label: // get sum, and get label:
$categoryId = $category->id; $categoryId = $category->id;
$data[$label]['name'][$categoryId] = $category->name; $data[$label]['name'][$categoryId] = $category->name;
$data[$label]['in'][$categoryId] = $income[$categoryId] ?? '0'; $data[$label]['in'][$categoryId] = $income[$categoryId] ?? '0';
$data[$label]['out'][$categoryId] = $expenses[$categoryId] ?? '0'; $data[$label]['out'][$categoryId] = $expenses[$categoryId] ?? '0';
} }
$current = Navigation::addPeriod($current, $period, 0); $current = Navigation::addPeriod($current, $period, 0);
} }
$data = $this->generator->mainReportChart($data); $data = $this->generator->mainReportChart($data);
return Response::json($data); return Response::json($data);
} }

View File

@@ -128,9 +128,9 @@ class ReportController extends Controller
} }
/** /**
* @param Carbon $start * @param Carbon $start
* @param Carbon $end * @param Carbon $end
* @param Collection $accounts * @param Collection $accounts
* *
* @return \Illuminate\Http\JsonResponse * @return \Illuminate\Http\JsonResponse
* @internal param AccountRepositoryInterface $repository * @internal param AccountRepositoryInterface $repository

View File

@@ -33,8 +33,9 @@ class TagSplit
* *
* @return Collection * @return Collection
*/ */
public static function createSetFromSplits(User $user, array $mapping, array $parts): Collection { public static function createSetFromSplits(User $user, array $mapping, array $parts): Collection
$set = new Collection; {
$set = new Collection;
Log::debug('Exploded parts.', $parts); Log::debug('Exploded parts.', $parts);
/** @var TagRepositoryInterface $repository */ /** @var TagRepositoryInterface $repository */
@@ -77,6 +78,7 @@ class TagSplit
$set->push($tag); $set->push($tag);
} }
} }
return $set; return $set;
} }

View File

@@ -47,7 +47,8 @@ class JournalServiceProvider extends ServiceProvider
$this->registerCollector(); $this->registerCollector();
} }
private function registerCollector() { private function registerCollector()
{
$this->app->bind( $this->app->bind(
'FireflyIII\Helpers\Collector\JournalCollectorInterface', 'FireflyIII\Helpers\Collector\JournalCollectorInterface',
function (Application $app, array $arguments) { function (Application $app, array $arguments) {

View File

@@ -109,7 +109,7 @@ class Search implements SearchInterface
{ {
$categories = $this->user->categories()->get(); $categories = $this->user->categories()->get();
/** @var Collection $result */ /** @var Collection $result */
$result = $categories->filter( $result = $categories->filter(
function (Category $category) use ($words) { function (Category $category) use ($words) {
if ($this->strpos_arr(strtolower($category->name), $words)) { if ($this->strpos_arr(strtolower($category->name), $words)) {
return $category; return $category;
@@ -118,7 +118,7 @@ class Search implements SearchInterface
return false; return false;
} }
); );
$result = $result->slice(0, $this->limit); $result = $result->slice(0, $this->limit);
return $result; return $result;
} }
@@ -131,7 +131,7 @@ class Search implements SearchInterface
*/ */
public function searchTags(array $words): Collection public function searchTags(array $words): Collection
{ {
$tags = $this->user->tags()->get(); $tags = $this->user->tags()->get();
/** @var Collection $result */ /** @var Collection $result */
$result = $tags->filter( $result = $tags->filter(

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Admin; namespace Admin;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ConfigurationControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class ConfigurationControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::index * @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::index
*/ */
@@ -48,4 +40,12 @@ class ConfigurationControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Admin; namespace Admin;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class DomainControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class DomainControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Admin\DomainController::domains * @covers FireflyIII\Http\Controllers\Admin\DomainController::domains
* @todo Implement testDomains(). * @todo Implement testDomains().
@@ -62,4 +54,12 @@ class DomainControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Admin; namespace Admin;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class HomeControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class HomeControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Admin\HomeController::index * @covers FireflyIII\Http\Controllers\Admin\HomeController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@@ -38,4 +30,12 @@ class HomeControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Admin; namespace Admin;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class UserControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class UserControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Admin\UserController::edit * @covers FireflyIII\Http\Controllers\Admin\UserController::edit
* @todo Implement testEdit(). * @todo Implement testEdit().
@@ -62,4 +54,12 @@ class UserControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class AttachmentControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class AttachmentControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\AttachmentController::delete * @covers FireflyIII\Http\Controllers\AttachmentController::delete
* @todo Implement testDelete(). * @todo Implement testDelete().
@@ -97,4 +88,12 @@ class AttachmentControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ConfirmationControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class ConfirmationControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Auth\ConfirmationController::confirmationError * @covers FireflyIII\Http\Controllers\Auth\ConfirmationController::confirmationError
* @todo Implement testConfirmationError(). * @todo Implement testConfirmationError().
@@ -62,4 +54,12 @@ class ConfirmationControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ForgotPasswordControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -20,18 +20,10 @@ class ForgotPasswordControllerTest extends TestCase
} }
/** /**
* Tears down the fixture, for example, closes a network connection. * @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::broker
* This method is called after a test is executed. * @todo Implement testBroker().
*/ */
protected function tearDown() public function testBroker()
{
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::showLinkRequestForm
* @todo Implement testShowLinkRequestForm().
*/
public function testShowLinkRequestForm()
{ {
// Remove the following lines when you implement this test. // Remove the following lines when you implement this test.
$this->markTestIncomplete( $this->markTestIncomplete(
@@ -52,14 +44,22 @@ class ForgotPasswordControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::broker * @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::showLinkRequestForm
* @todo Implement testBroker(). * @todo Implement testShowLinkRequestForm().
*/ */
public function testBroker() public function testShowLinkRequestForm()
{ {
// Remove the following lines when you implement this test. // Remove the following lines when you implement this test.
$this->markTestIncomplete( $this->markTestIncomplete(
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class LoginControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class LoginControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::login * @covers FireflyIII\Http\Controllers\Auth\LoginController::login
* @todo Implement testLogin(). * @todo Implement testLogin().
@@ -39,6 +31,30 @@ class LoginControllerTest extends TestCase
); );
} }
/**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::logout
* @todo Implement testLogout().
*/
public function testLogout()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::redirectPath
* @todo Implement testRedirectPath().
*/
public function testRedirectPath()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/** /**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::showLoginForm * @covers FireflyIII\Http\Controllers\Auth\LoginController::showLoginForm
* @todo Implement testShowLoginForm(). * @todo Implement testShowLoginForm().
@@ -64,26 +80,10 @@ class LoginControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::logout * Tears down the fixture, for example, closes a network connection.
* @todo Implement testLogout(). * This method is called after a test is executed.
*/ */
public function testLogout() protected function tearDown()
{ {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::redirectPath
* @todo Implement testRedirectPath().
*/
public function testRedirectPath()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
} }
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class PasswordControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -20,11 +20,39 @@ class PasswordControllerTest extends TestCase
} }
/** /**
* Tears down the fixture, for example, closes a network connection. * @covers FireflyIII\Http\Controllers\Auth\PasswordController::broker
* This method is called after a test is executed. * @todo Implement testBroker().
*/ */
protected function tearDown() public function testBroker()
{ {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::redirectPath
* @todo Implement testRedirectPath().
*/
public function testRedirectPath()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::reset
* @todo Implement testReset().
*/
public function testReset()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
} }
/** /**
@@ -52,38 +80,10 @@ class PasswordControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::reset * Tears down the fixture, for example, closes a network connection.
* @todo Implement testReset(). * This method is called after a test is executed.
*/ */
public function testReset() protected function tearDown()
{ {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::broker
* @todo Implement testBroker().
*/
public function testBroker()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::redirectPath
* @todo Implement testRedirectPath().
*/
public function testRedirectPath()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
} }
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class RegisterControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -20,11 +20,15 @@ class RegisterControllerTest extends TestCase
} }
/** /**
* Tears down the fixture, for example, closes a network connection. * @covers FireflyIII\Http\Controllers\Auth\RegisterController::redirectPath
* This method is called after a test is executed. * @todo Implement testRedirectPath().
*/ */
protected function tearDown() public function testRedirectPath()
{ {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
} }
/** /**
@@ -52,14 +56,10 @@ class RegisterControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Auth\RegisterController::redirectPath * Tears down the fixture, for example, closes a network connection.
* @todo Implement testRedirectPath(). * This method is called after a test is executed.
*/ */
public function testRedirectPath() protected function tearDown()
{ {
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
} }
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ResetPasswordControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,38 +19,6 @@ class ResetPasswordControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::showResetForm
* @todo Implement testShowResetForm().
*/
public function testShowResetForm()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::reset
* @todo Implement testReset().
*/
public function testReset()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/** /**
* @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::broker * @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::broker
* @todo Implement testBroker(). * @todo Implement testBroker().
@@ -74,4 +42,36 @@ class ResetPasswordControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::reset
* @todo Implement testReset().
*/
public function testReset()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ResetPasswordController::showResetForm
* @todo Implement testShowResetForm().
*/
public function testShowResetForm()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Auth; namespace Auth;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class TwoFactorControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class TwoFactorControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Auth\TwoFactorController::index * @covers FireflyIII\Http\Controllers\Auth\TwoFactorController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@@ -62,4 +54,12 @@ class TwoFactorControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class BillControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class BillControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\BillController::create * @covers FireflyIII\Http\Controllers\BillController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -133,4 +124,12 @@ class BillControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class BudgetControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class BudgetControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\BudgetController::amount * @covers FireflyIII\Http\Controllers\BudgetController::amount
* @todo Implement testAmount(). * @todo Implement testAmount().
@@ -181,4 +172,12 @@ class BudgetControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class CategoryControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class CategoryControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\CategoryController::create * @covers FireflyIII\Http\Controllers\CategoryController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -145,4 +136,12 @@ class CategoryControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class AccountControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class AccountControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseAccounts * @covers FireflyIII\Http\Controllers\Chart\AccountController::expenseAccounts
* @todo Implement testExpenseAccounts(). * @todo Implement testExpenseAccounts().
@@ -98,4 +90,12 @@ class AccountControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class BillControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class BillControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\BillController::frontpage * @covers FireflyIII\Http\Controllers\Chart\BillController::frontpage
* @todo Implement testFrontpage(). * @todo Implement testFrontpage().
@@ -50,4 +42,12 @@ class BillControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class BudgetControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class BudgetControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\BudgetController::budget * @covers FireflyIII\Http\Controllers\Chart\BudgetController::budget
* @todo Implement testBudget(). * @todo Implement testBudget().
@@ -74,4 +66,12 @@ class BudgetControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class CategoryControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class CategoryControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\CategoryController::all * @covers FireflyIII\Http\Controllers\Chart\CategoryController::all
* @todo Implement testAll(). * @todo Implement testAll().
@@ -74,4 +66,12 @@ class CategoryControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class CategoryReportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class CategoryReportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\CategoryReportController::accountExpense * @covers FireflyIII\Http\Controllers\Chart\CategoryReportController::accountExpense
* @todo Implement testAccountExpense(). * @todo Implement testAccountExpense().
@@ -86,4 +78,12 @@ class CategoryReportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class PiggyBankControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class PiggyBankControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\PiggyBankController::history * @covers FireflyIII\Http\Controllers\Chart\PiggyBankController::history
* @todo Implement testHistory(). * @todo Implement testHistory().
@@ -38,4 +30,12 @@ class PiggyBankControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Chart; namespace Chart;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ReportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class ReportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Chart\ReportController::netWorth * @covers FireflyIII\Http\Controllers\Chart\ReportController::netWorth
* @todo Implement testNetWorth(). * @todo Implement testNetWorth().
@@ -62,4 +54,12 @@ class ReportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class ControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class ControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Controller::authorize * @covers FireflyIII\Http\Controllers\Controller::authorize
* @todo Implement testAuthorize(). * @todo Implement testAuthorize().
@@ -75,10 +66,10 @@ class ControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Controller::validateWith * @covers FireflyIII\Http\Controllers\Controller::validate
* @todo Implement testValidateWith(). * @todo Implement testValidate().
*/ */
public function testValidateWith() public function testValidate()
{ {
// Remove the following lines when you implement this test. // Remove the following lines when you implement this test.
$this->markTestIncomplete( $this->markTestIncomplete(
@@ -87,10 +78,10 @@ class ControllerTest extends TestCase
} }
/** /**
* @covers FireflyIII\Http\Controllers\Controller::validate * @covers FireflyIII\Http\Controllers\Controller::validateWith
* @todo Implement testValidate(). * @todo Implement testValidateWith().
*/ */
public function testValidate() public function testValidateWith()
{ {
// Remove the following lines when you implement this test. // Remove the following lines when you implement this test.
$this->markTestIncomplete( $this->markTestIncomplete(
@@ -109,4 +100,12 @@ class ControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class CurrencyControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class CurrencyControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\CurrencyController::create * @covers FireflyIII\Http\Controllers\CurrencyController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -121,4 +112,12 @@ class CurrencyControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class ExportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class ExportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\ExportController::download * @covers FireflyIII\Http\Controllers\ExportController::download
* @todo Implement testDownload(). * @todo Implement testDownload().
@@ -73,4 +64,12 @@ class ExportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class HelpControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class HelpControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\HelpController::show * @covers FireflyIII\Http\Controllers\HelpController::show
* @todo Implement testShow(). * @todo Implement testShow().
@@ -37,4 +28,12 @@ class HelpControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class ImportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class ImportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\ImportController::complete * @covers FireflyIII\Http\Controllers\ImportController::complete
* @todo Implement testComplete(). * @todo Implement testComplete().
@@ -169,4 +160,12 @@ class ImportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class JsonControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class JsonControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\JsonController::action * @covers FireflyIII\Http\Controllers\JsonController::action
* @todo Implement testAction(). * @todo Implement testAction().
@@ -181,4 +172,12 @@ class JsonControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class NewUserControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class NewUserControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\NewUserController::index * @covers FireflyIII\Http\Controllers\NewUserController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@@ -49,4 +40,12 @@ class NewUserControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class PiggyBankControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class PiggyBankControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\PiggyBankController::add * @covers FireflyIII\Http\Controllers\PiggyBankController::add
* @todo Implement testAdd(). * @todo Implement testAdd().
@@ -205,4 +196,12 @@ class PiggyBankControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Popup; namespace Popup;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ReportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class ReportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Popup\ReportController::info * @covers FireflyIII\Http\Controllers\Popup\ReportController::info
* @todo Implement testInfo(). * @todo Implement testInfo().
@@ -38,4 +30,12 @@ class ReportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class PreferencesControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class PreferencesControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\PreferencesController::code * @covers FireflyIII\Http\Controllers\PreferencesController::code
* @todo Implement testCode(). * @todo Implement testCode().
@@ -85,4 +76,12 @@ class PreferencesControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class ProfileControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class ProfileControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\ProfileController::changePassword * @covers FireflyIII\Http\Controllers\ProfileController::changePassword
* @todo Implement testChangePassword(). * @todo Implement testChangePassword().
@@ -85,4 +76,12 @@ class ProfileControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Report; namespace Report;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class AccountControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class AccountControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Report\AccountController::accountReport * @covers FireflyIII\Http\Controllers\Report\AccountController::accountReport
* @todo Implement testAccountReport(). * @todo Implement testAccountReport().
@@ -38,4 +30,12 @@ class AccountControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Report; namespace Report;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class BalanceControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class BalanceControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Report\BalanceController::balanceReport * @covers FireflyIII\Http\Controllers\Report\BalanceController::balanceReport
* @todo Implement testBalanceReport(). * @todo Implement testBalanceReport().
@@ -38,4 +30,12 @@ class BalanceControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Report; namespace Report;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class BudgetControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class BudgetControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Report\BudgetController::budgetPeriodReport * @covers FireflyIII\Http\Controllers\Report\BudgetController::budgetPeriodReport
* @todo Implement testBudgetPeriodReport(). * @todo Implement testBudgetPeriodReport().
@@ -50,4 +42,12 @@ class BudgetControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Report; namespace Report;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class CategoryControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class CategoryControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Report\CategoryController::categoryReport * @covers FireflyIII\Http\Controllers\Report\CategoryController::categoryReport
* @todo Implement testCategoryReport(). * @todo Implement testCategoryReport().
@@ -38,4 +30,12 @@ class CategoryControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Report; namespace Report;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class InOutControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class InOutControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Report\InOutController::expenseReport * @covers FireflyIII\Http\Controllers\Report\InOutController::expenseReport
* @todo Implement testExpenseReport(). * @todo Implement testExpenseReport().
@@ -62,4 +54,12 @@ class InOutControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class ReportControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class ReportControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\ReportController::auditReport * @covers FireflyIII\Http\Controllers\ReportController::auditReport
* @todo Implement testAuditReport(). * @todo Implement testAuditReport().
@@ -97,4 +88,12 @@ class ReportControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class RuleControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class RuleControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\RuleController::create * @covers FireflyIII\Http\Controllers\RuleController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -169,4 +160,12 @@ class RuleControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class RuleGroupControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class RuleGroupControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\RuleGroupController::create * @covers FireflyIII\Http\Controllers\RuleGroupController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -145,4 +136,12 @@ class RuleGroupControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class SearchControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class SearchControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\SearchController::index * @covers FireflyIII\Http\Controllers\SearchController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@@ -37,4 +28,12 @@ class SearchControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class TagControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class TagControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\TagController::create * @covers FireflyIII\Http\Controllers\TagController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -133,4 +124,12 @@ class TagControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Transaction; namespace Transaction;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class ConvertControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class ConvertControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Transaction\ConvertController::convert * @covers FireflyIII\Http\Controllers\Transaction\ConvertController::convert
* @todo Implement testConvert(). * @todo Implement testConvert().
@@ -50,4 +42,12 @@ class ConvertControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Transaction; namespace Transaction;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class MassControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class MassControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Transaction\MassController::massDelete * @covers FireflyIII\Http\Controllers\Transaction\MassController::massDelete
* @todo Implement testMassDelete(). * @todo Implement testMassDelete().
@@ -74,4 +66,12 @@ class MassControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Transaction; namespace Transaction;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class SingleControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class SingleControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Transaction\SingleController::create * @covers FireflyIII\Http\Controllers\Transaction\SingleController::create
* @todo Implement testCreate(). * @todo Implement testCreate().
@@ -98,4 +90,12 @@ class SingleControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -1,5 +1,6 @@
<?php <?php
namespace Transaction; namespace Transaction;
use TestCase; use TestCase;
/** /**
@@ -9,7 +10,6 @@ class SplitControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -19,14 +19,6 @@ class SplitControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\Transaction\SplitController::edit * @covers FireflyIII\Http\Controllers\Transaction\SplitController::edit
* @todo Implement testEdit(). * @todo Implement testEdit().
@@ -50,4 +42,12 @@ class SplitControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }

View File

@@ -8,7 +8,6 @@ class TransactionControllerTest extends TestCase
{ {
/** /**
* Sets up the fixture, for example, opens a network connection. * Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed. * This method is called before a test is executed.
@@ -18,14 +17,6 @@ class TransactionControllerTest extends TestCase
parent::setUp(); parent::setUp();
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
/** /**
* @covers FireflyIII\Http\Controllers\TransactionController::index * @covers FireflyIII\Http\Controllers\TransactionController::index
* @todo Implement testIndex(). * @todo Implement testIndex().
@@ -61,4 +52,12 @@ class TransactionControllerTest extends TestCase
'This test has not been implemented yet.' 'This test has not been implemented yet.'
); );
} }
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
} }