Various code cleanup.

This commit is contained in:
James Cole 2016-11-20 11:43:19 +01:00
parent 75a524c656
commit 94875adb6c
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
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 Navigation;
/**
* Class ChartJsBudgetChartGenerator

View File

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

View File

@ -64,6 +64,16 @@ class MonthReportGenerator implements ReportGeneratorInterface
return $this;
}
/**
* @param Collection $categories
*
* @return ReportGeneratorInterface
*/
public function setCategories(Collection $categories): ReportGeneratorInterface
{
return $this;
}
/**
* @param Carbon $date
*
@ -87,14 +97,4 @@ class MonthReportGenerator implements ReportGeneratorInterface
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;
/**
* @return JournalCollectorInterface
*/
public function withOpposingAccount(): JournalCollectorInterface;
/**
* @return LengthAwarePaginator
*/
@ -136,6 +131,11 @@ interface JournalCollectorInterface
*/
public function setTypes(array $types): JournalCollectorInterface;
/**
* @return JournalCollectorInterface
*/
public function withOpposingAccount(): JournalCollectorInterface;
/**
* @return JournalCollectorInterface
*/

View File

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

View File

@ -184,7 +184,7 @@ class CategoryController extends Controller
$end = session('end', Navigation::endOfPeriod(new Carbon, $range));
$accounts = $accountRepository->getAccountsByType([AccountType::DEFAULT, AccountType::ASSET]);
$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);
$subTitle = $category->name;
$subTitleIcon = 'fa-bar-chart';
@ -253,7 +253,7 @@ class CategoryController extends Controller
$end = Navigation::endOfPeriod($carbon, $range);
$subTitle = $category->name;
$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);
// new collector:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,6 @@
<?php
namespace Admin;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ConfigurationControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class ConfigurationControllerTest extends TestCase
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
*/
@ -48,4 +40,12 @@ class ConfigurationControllerTest extends TestCase
'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
namespace Admin;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class DomainControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class DomainControllerTest extends TestCase
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
* @todo Implement testDomains().
@ -62,4 +54,12 @@ class DomainControllerTest extends TestCase
'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
namespace Admin;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class HomeControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class HomeControllerTest extends TestCase
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
* @todo Implement testIndex().
@ -38,4 +30,12 @@ class HomeControllerTest extends TestCase
'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
namespace Admin;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class UserControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class UserControllerTest extends TestCase
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
* @todo Implement testEdit().
@ -62,4 +54,12 @@ class UserControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class AttachmentControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class AttachmentControllerTest extends TestCase
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
* @todo Implement testDelete().
@ -97,4 +88,12 @@ class AttachmentControllerTest extends TestCase
'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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ConfirmationControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class ConfirmationControllerTest extends TestCase
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
* @todo Implement testConfirmationError().
@ -62,4 +54,12 @@ class ConfirmationControllerTest extends TestCase
'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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ForgotPasswordControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -20,18 +20,10 @@ class ForgotPasswordControllerTest extends TestCase
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::broker
* @todo Implement testBroker().
*/
protected function tearDown()
{
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::showLinkRequestForm
* @todo Implement testShowLinkRequestForm().
*/
public function testShowLinkRequestForm()
public function testBroker()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@ -52,14 +44,22 @@ class ForgotPasswordControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::broker
* @todo Implement testBroker().
* @covers FireflyIII\Http\Controllers\Auth\ForgotPasswordController::showLinkRequestForm
* @todo Implement testShowLinkRequestForm().
*/
public function testBroker()
public function testShowLinkRequestForm()
{
// 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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class LoginControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class LoginControllerTest extends TestCase
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
* @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
* @todo Implement testShowLoginForm().
@ -64,26 +80,10 @@ class LoginControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Auth\LoginController::logout
* @todo Implement testLogout().
* Tears down the fixture, for example, closes a network connection.
* 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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class PasswordControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -20,11 +20,39 @@ class PasswordControllerTest extends TestCase
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
* @covers FireflyIII\Http\Controllers\Auth\PasswordController::broker
* @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
* @todo Implement testReset().
* Tears down the fixture, for example, closes a network connection.
* 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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class RegisterControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -20,11 +20,15 @@ class RegisterControllerTest extends TestCase
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
* @covers FireflyIII\Http\Controllers\Auth\RegisterController::redirectPath
* @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
* @todo Implement testRedirectPath().
* Tears down the fixture, for example, closes a network connection.
* 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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ResetPasswordControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,38 +19,6 @@ class ResetPasswordControllerTest extends TestCase
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
* @todo Implement testBroker().
@ -74,4 +42,36 @@ class ResetPasswordControllerTest extends TestCase
'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
namespace Auth;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class TwoFactorControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class TwoFactorControllerTest extends TestCase
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
* @todo Implement testIndex().
@ -62,4 +54,12 @@ class TwoFactorControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class BillControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class BillControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -133,4 +124,12 @@ class BillControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class BudgetControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class BudgetControllerTest extends TestCase
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
* @todo Implement testAmount().
@ -181,4 +172,12 @@ class BudgetControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class CategoryControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class CategoryControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -145,4 +136,12 @@ class CategoryControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class AccountControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class AccountControllerTest extends TestCase
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
* @todo Implement testExpenseAccounts().
@ -98,4 +90,12 @@ class AccountControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class BillControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class BillControllerTest extends TestCase
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
* @todo Implement testFrontpage().
@ -50,4 +42,12 @@ class BillControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class BudgetControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class BudgetControllerTest extends TestCase
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
* @todo Implement testBudget().
@ -74,4 +66,12 @@ class BudgetControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class CategoryControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class CategoryControllerTest extends TestCase
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
* @todo Implement testAll().
@ -74,4 +66,12 @@ class CategoryControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class CategoryReportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class CategoryReportControllerTest extends TestCase
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
* @todo Implement testAccountExpense().
@ -86,4 +78,12 @@ class CategoryReportControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class PiggyBankControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class PiggyBankControllerTest extends TestCase
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
* @todo Implement testHistory().
@ -38,4 +30,12 @@ class PiggyBankControllerTest extends TestCase
'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
namespace Chart;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ReportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class ReportControllerTest extends TestCase
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
* @todo Implement testNetWorth().
@ -62,4 +54,12 @@ class ReportControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class ControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class ControllerTest extends TestCase
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
* @todo Implement testAuthorize().
@ -75,10 +66,10 @@ class ControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Controller::validateWith
* @todo Implement testValidateWith().
* @covers FireflyIII\Http\Controllers\Controller::validate
* @todo Implement testValidate().
*/
public function testValidateWith()
public function testValidate()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@ -87,10 +78,10 @@ class ControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\Controller::validate
* @todo Implement testValidate().
* @covers FireflyIII\Http\Controllers\Controller::validateWith
* @todo Implement testValidateWith().
*/
public function testValidate()
public function testValidateWith()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
@ -109,4 +100,12 @@ class ControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class CurrencyControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class CurrencyControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -121,4 +112,12 @@ class CurrencyControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class ExportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class ExportControllerTest extends TestCase
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
* @todo Implement testDownload().
@ -73,4 +64,12 @@ class ExportControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class HelpControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class HelpControllerTest extends TestCase
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
* @todo Implement testShow().
@ -37,4 +28,12 @@ class HelpControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class ImportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class ImportControllerTest extends TestCase
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
* @todo Implement testComplete().
@ -169,4 +160,12 @@ class ImportControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class JsonControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class JsonControllerTest extends TestCase
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
* @todo Implement testAction().
@ -181,4 +172,12 @@ class JsonControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class NewUserControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class NewUserControllerTest extends TestCase
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
* @todo Implement testIndex().
@ -49,4 +40,12 @@ class NewUserControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class PiggyBankControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class PiggyBankControllerTest extends TestCase
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
* @todo Implement testAdd().
@ -205,4 +196,12 @@ class PiggyBankControllerTest extends TestCase
'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
namespace Popup;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ReportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class ReportControllerTest extends TestCase
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
* @todo Implement testInfo().
@ -38,4 +30,12 @@ class ReportControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class PreferencesControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class PreferencesControllerTest extends TestCase
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
* @todo Implement testCode().
@ -85,4 +76,12 @@ class PreferencesControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class ProfileControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class ProfileControllerTest extends TestCase
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
* @todo Implement testChangePassword().
@ -85,4 +76,12 @@ class ProfileControllerTest extends TestCase
'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
namespace Report;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class AccountControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class AccountControllerTest extends TestCase
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
* @todo Implement testAccountReport().
@ -38,4 +30,12 @@ class AccountControllerTest extends TestCase
'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
namespace Report;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class BalanceControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class BalanceControllerTest extends TestCase
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
* @todo Implement testBalanceReport().
@ -38,4 +30,12 @@ class BalanceControllerTest extends TestCase
'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
namespace Report;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class BudgetControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class BudgetControllerTest extends TestCase
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
* @todo Implement testBudgetPeriodReport().
@ -50,4 +42,12 @@ class BudgetControllerTest extends TestCase
'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
namespace Report;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class CategoryControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class CategoryControllerTest extends TestCase
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
* @todo Implement testCategoryReport().
@ -38,4 +30,12 @@ class CategoryControllerTest extends TestCase
'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
namespace Report;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class InOutControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class InOutControllerTest extends TestCase
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
* @todo Implement testExpenseReport().
@ -62,4 +54,12 @@ class InOutControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class ReportControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class ReportControllerTest extends TestCase
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
* @todo Implement testAuditReport().
@ -97,4 +88,12 @@ class ReportControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class RuleControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class RuleControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -169,4 +160,12 @@ class RuleControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class RuleGroupControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class RuleGroupControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -145,4 +136,12 @@ class RuleGroupControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class SearchControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class SearchControllerTest extends TestCase
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
* @todo Implement testIndex().
@ -37,4 +28,12 @@ class SearchControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class TagControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class TagControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -133,4 +124,12 @@ class TagControllerTest extends TestCase
'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
namespace Transaction;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class ConvertControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class ConvertControllerTest extends TestCase
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
* @todo Implement testConvert().
@ -50,4 +42,12 @@ class ConvertControllerTest extends TestCase
'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
namespace Transaction;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class MassControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class MassControllerTest extends TestCase
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
* @todo Implement testMassDelete().
@ -74,4 +66,12 @@ class MassControllerTest extends TestCase
'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
namespace Transaction;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class SingleControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class SingleControllerTest extends TestCase
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
* @todo Implement testCreate().
@ -98,4 +90,12 @@ class SingleControllerTest extends TestCase
'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
namespace Transaction;
use TestCase;
/**
@ -8,7 +9,6 @@ use TestCase;
class SplitControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -19,14 +19,6 @@ class SplitControllerTest extends TestCase
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
* @todo Implement testEdit().
@ -50,4 +42,12 @@ class SplitControllerTest extends TestCase
'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

@ -7,7 +7,6 @@
class TransactionControllerTest extends TestCase
{
/**
* Sets up the fixture, for example, opens a network connection.
@ -18,14 +17,6 @@ class TransactionControllerTest extends TestCase
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
* @todo Implement testIndex().
@ -61,4 +52,12 @@ class TransactionControllerTest extends TestCase
'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()
{
}
}