mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Updated some tests.
This commit is contained in:
parent
26190524f4
commit
f8c5c15655
@ -169,8 +169,7 @@ class HomeController extends Controller
|
|||||||
'admin.users.domains.block-', 'import.json', 'help.',
|
'admin.users.domains.block-', 'import.json', 'help.',
|
||||||
];
|
];
|
||||||
$routes = Route::getRoutes();
|
$routes = Route::getRoutes();
|
||||||
|
$return = '<pre>';
|
||||||
echo '<pre>';
|
|
||||||
|
|
||||||
/** @var \Illuminate\Routing\Route $route */
|
/** @var \Illuminate\Routing\Route $route */
|
||||||
foreach ($routes as $route) {
|
foreach ($routes as $route) {
|
||||||
@ -178,15 +177,13 @@ class HomeController extends Controller
|
|||||||
$methods = $route->getMethods();
|
$methods = $route->getMethods();
|
||||||
|
|
||||||
if (!is_null($name) && strlen($name) > 0 && in_array('GET', $methods) && !$this->startsWithAny($ignore, $name)) {
|
if (!is_null($name) && strlen($name) > 0 && in_array('GET', $methods) && !$this->startsWithAny($ignore, $name)) {
|
||||||
echo sprintf('touch %s.md', $name) . "\n";
|
$return .= sprintf('touch %s.md', $name) . "\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</pre>';
|
$return .= '</pre><hr />';
|
||||||
|
|
||||||
echo '<hr />';
|
return $return;
|
||||||
|
|
||||||
return ' ';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -365,11 +365,12 @@ class Navigation
|
|||||||
public function updateEndDate(string $range, Carbon $start): Carbon
|
public function updateEndDate(string $range, Carbon $start): Carbon
|
||||||
{
|
{
|
||||||
$functionMap = [
|
$functionMap = [
|
||||||
'1D' => 'endOfDay',
|
'1D' => 'endOfDay',
|
||||||
'1W' => 'endOfWeek',
|
'1W' => 'endOfWeek',
|
||||||
'1M' => 'endOfMonth',
|
'1M' => 'endOfMonth',
|
||||||
'3M' => 'lastOfQuarter',
|
'3M' => 'lastOfQuarter',
|
||||||
'1Y' => 'endOfYear',
|
'1Y' => 'endOfYear',
|
||||||
|
'custom' => 'startOfMonth', // this only happens in test situations.
|
||||||
];
|
];
|
||||||
$end = clone $start;
|
$end = clone $start;
|
||||||
|
|
||||||
@ -402,11 +403,12 @@ class Navigation
|
|||||||
public function updateStartDate(string $range, Carbon $start): Carbon
|
public function updateStartDate(string $range, Carbon $start): Carbon
|
||||||
{
|
{
|
||||||
$functionMap = [
|
$functionMap = [
|
||||||
'1D' => 'startOfDay',
|
'1D' => 'startOfDay',
|
||||||
'1W' => 'startOfWeek',
|
'1W' => 'startOfWeek',
|
||||||
'1M' => 'startOfMonth',
|
'1M' => 'startOfMonth',
|
||||||
'3M' => 'firstOfQuarter',
|
'3M' => 'firstOfQuarter',
|
||||||
'1Y' => 'startOfYear',
|
'1Y' => 'startOfYear',
|
||||||
|
'custom' => 'startOfMonth', // this only happens in test situations.
|
||||||
];
|
];
|
||||||
if (isset($functionMap[$range])) {
|
if (isset($functionMap[$range])) {
|
||||||
$function = $functionMap[$range];
|
$function = $functionMap[$range];
|
||||||
|
@ -39,9 +39,9 @@ Route::group(
|
|||||||
*/
|
*/
|
||||||
Route::group(
|
Route::group(
|
||||||
['middleware' => 'user-simple-auth'], function () {
|
['middleware' => 'user-simple-auth'], function () {
|
||||||
Route::get('/error', 'HomeController@displayError');
|
Route::get('/error', ['uses' => 'HomeController@displayError', 'as' => 'displayError']);
|
||||||
Route::any('logout', ['uses' => 'Auth\LoginController@logout', 'as' => 'logout']);
|
Route::any('logout', ['uses' => 'Auth\LoginController@logout', 'as' => 'logout']);
|
||||||
Route::get('/flush', ['uses' => 'HomeController@flush']);
|
Route::get('/flush', ['uses' => 'HomeController@flush', 'as' => 'flush']);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ Route::group(
|
|||||||
Route::get('/flash', ['uses' => 'HomeController@testFlash', 'as' => 'testFlash']);
|
Route::get('/flash', ['uses' => 'HomeController@testFlash', 'as' => 'testFlash']);
|
||||||
Route::get('/home', ['uses' => 'HomeController@index', 'as' => 'home']);
|
Route::get('/home', ['uses' => 'HomeController@index', 'as' => 'home']);
|
||||||
Route::post('/daterange', ['uses' => 'HomeController@dateRange', 'as' => 'daterange']);
|
Route::post('/daterange', ['uses' => 'HomeController@dateRange', 'as' => 'daterange']);
|
||||||
Route::get('/routes', ['uses' => 'HomeController@routes']);
|
Route::get('/routes', ['uses' => 'HomeController@routes', 'as' => 'allRoutes']);
|
||||||
/**
|
/**
|
||||||
* Account Controller
|
* Account Controller
|
||||||
*/
|
*/
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class AccountControllerTest extends TestCase
|
class AccountControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var AccountController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Admin;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class ConfigurationControllerTest extends TestCase
|
class ConfigurationControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ConfigurationController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Admin;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class DomainControllerTest extends TestCase
|
class DomainControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var DomainController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Admin;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class HomeControllerTest extends TestCase
|
class HomeControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var HomeController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Admin;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class UserControllerTest extends TestCase
|
class UserControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var UserController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class AttachmentControllerTest extends TestCase
|
class AttachmentControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var AttachmentController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class ConfirmationControllerTest extends TestCase
|
class ConfirmationControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ConfirmationController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:38.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:26.
|
||||||
*/
|
*/
|
||||||
class ForgotPasswordControllerTest extends TestCase
|
class ForgotPasswordControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ForgotPasswordController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class LoginControllerTest extends TestCase
|
class LoginControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var LoginController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class PasswordControllerTest extends TestCase
|
class PasswordControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var PasswordController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class RegisterControllerTest extends TestCase
|
class RegisterControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var RegisterController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class ResetPasswordControllerTest extends TestCase
|
class ResetPasswordControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ResetPasswordController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Auth;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class TwoFactorControllerTest extends TestCase
|
class TwoFactorControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var TwoFactorController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:27.
|
||||||
*/
|
*/
|
||||||
class BillControllerTest extends TestCase
|
class BillControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BillController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:39.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class BudgetControllerTest extends TestCase
|
class BudgetControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BudgetController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class CategoryControllerTest extends TestCase
|
class CategoryControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var CategoryController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class AccountControllerTest extends TestCase
|
class AccountControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var AccountController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class BillControllerTest extends TestCase
|
class BillControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BillController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class BudgetControllerTest extends TestCase
|
class BudgetControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BudgetController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class CategoryControllerTest extends TestCase
|
class CategoryControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var CategoryController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:40.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class CategoryReportControllerTest extends TestCase
|
class CategoryReportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var CategoryReportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:28.
|
||||||
*/
|
*/
|
||||||
class PiggyBankControllerTest extends TestCase
|
class PiggyBankControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var PiggyBankController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Chart;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class ReportControllerTest extends TestCase
|
class ReportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ReportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class ControllerTest extends TestCase
|
class ControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var Controller
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class CurrencyControllerTest extends TestCase
|
class CurrencyControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var CurrencyController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class ExportControllerTest extends TestCase
|
class ExportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ExportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class HelpControllerTest extends TestCase
|
class HelpControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var HelpController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -30,19 +30,28 @@ class HomeControllerTest extends TestCase
|
|||||||
'end' => '2012-04-01',
|
'end' => '2012-04-01',
|
||||||
];
|
];
|
||||||
|
|
||||||
// if date range is > 50, should have flash.
|
$this->call('POST', route('daterange'), $args);
|
||||||
$this->call('POST', '/daterange', $args);
|
|
||||||
$this->assertResponseStatus(200);
|
$this->assertResponseStatus(200);
|
||||||
$this->assertSessionHas('warning', '91 days of data may take a while to load.');
|
$this->assertSessionHas('warning', '91 days of data may take a while to load.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @covers FireflyIII\Http\Controllers\HomeController::displayError
|
||||||
|
*/
|
||||||
|
public function testDisplayError()
|
||||||
|
{
|
||||||
|
$this->be($this->user());
|
||||||
|
$this->call('GET', route('displayError'));
|
||||||
|
$this->assertResponseStatus(500);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FireflyIII\Http\Controllers\HomeController::flush
|
* @covers FireflyIII\Http\Controllers\HomeController::flush
|
||||||
*/
|
*/
|
||||||
public function testFlush()
|
public function testFlush()
|
||||||
{
|
{
|
||||||
$this->be($this->user());
|
$this->be($this->user());
|
||||||
$this->call('GET', '/flush');
|
$this->call('GET', route('flush'));
|
||||||
$this->assertResponseStatus(302);
|
$this->assertResponseStatus(302);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -57,7 +66,35 @@ class HomeControllerTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->be($this->user());
|
$this->be($this->user());
|
||||||
$this->changeDateRange($this->user(), $range);
|
$this->changeDateRange($this->user(), $range);
|
||||||
$this->call('GET', '/');
|
$this->call('GET', route('index'));
|
||||||
$this->assertResponseStatus(200);
|
$this->assertResponseStatus(200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @covers FireflyIII\Http\Controllers\HomeController::routes
|
||||||
|
* @dataProvider dateRangeProvider
|
||||||
|
*
|
||||||
|
* @param string $range
|
||||||
|
*/
|
||||||
|
public function testRoutes(string $range)
|
||||||
|
{
|
||||||
|
$this->be($this->user());
|
||||||
|
$this->changeDateRange($this->user(), $range);
|
||||||
|
$this->call('GET', route('allRoutes'));
|
||||||
|
$this->assertResponseStatus(200);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @covers FireflyIII\Http\Controllers\HomeController::testFlash
|
||||||
|
*/
|
||||||
|
public function testTestFlash()
|
||||||
|
{
|
||||||
|
$this->be($this->user());
|
||||||
|
$this->call('GET', route('testFlash'));
|
||||||
|
$this->assertResponseStatus(302);
|
||||||
|
$this->assertSessionHas('success');
|
||||||
|
$this->assertSessionHas('info');
|
||||||
|
$this->assertSessionHas('warning');
|
||||||
|
$this->assertSessionHas('error');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:41.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class ImportControllerTest extends TestCase
|
class ImportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ImportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class JsonControllerTest extends TestCase
|
class JsonControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var JsonController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:29.
|
||||||
*/
|
*/
|
||||||
class NewUserControllerTest extends TestCase
|
class NewUserControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var NewUserController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:30.
|
||||||
*/
|
*/
|
||||||
class PiggyBankControllerTest extends TestCase
|
class PiggyBankControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var PiggyBankController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Popup;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:30.
|
||||||
*/
|
*/
|
||||||
class ReportControllerTest extends TestCase
|
class ReportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ReportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:31.
|
||||||
*/
|
*/
|
||||||
class PreferencesControllerTest extends TestCase
|
class PreferencesControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var PreferencesController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:31.
|
||||||
*/
|
*/
|
||||||
class ProfileControllerTest extends TestCase
|
class ProfileControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ProfileController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Report;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:42.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:31.
|
||||||
*/
|
*/
|
||||||
class AccountControllerTest extends TestCase
|
class AccountControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var AccountController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Report;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:32.
|
||||||
*/
|
*/
|
||||||
class BalanceControllerTest extends TestCase
|
class BalanceControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BalanceController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Report;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:32.
|
||||||
*/
|
*/
|
||||||
class BudgetControllerTest extends TestCase
|
class BudgetControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var BudgetController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Report;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:32.
|
||||||
*/
|
*/
|
||||||
class CategoryControllerTest extends TestCase
|
class CategoryControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var CategoryController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Report;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:32.
|
||||||
*/
|
*/
|
||||||
class InOutControllerTest extends TestCase
|
class InOutControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var InOutController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class ReportControllerTest extends TestCase
|
class ReportControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ReportController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class RuleControllerTest extends TestCase
|
class RuleControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var RuleController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class RuleGroupControllerTest extends TestCase
|
class RuleGroupControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var RuleGroupController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:43.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class SearchControllerTest extends TestCase
|
class SearchControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var SearchController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class TagControllerTest extends TestCase
|
class TagControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var TagController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Transaction;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:33.
|
||||||
*/
|
*/
|
||||||
class ConvertControllerTest extends TestCase
|
class ConvertControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var ConvertController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Transaction;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:34.
|
||||||
*/
|
*/
|
||||||
class MassControllerTest extends TestCase
|
class MassControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var MassController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Transaction;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:34.
|
||||||
*/
|
*/
|
||||||
class SingleControllerTest extends TestCase
|
class SingleControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var SingleController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -3,14 +3,12 @@ namespace Transaction;
|
|||||||
use TestCase;
|
use TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:34.
|
||||||
*/
|
*/
|
||||||
class SplitControllerTest extends TestCase
|
class SplitControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var SplitController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated by PHPUnit_SkeletonGenerator on 2016-11-19 at 19:28:44.
|
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 06:10:34.
|
||||||
*/
|
*/
|
||||||
class TransactionControllerTest extends TestCase
|
class TransactionControllerTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @var TransactionController
|
|
||||||
*/
|
|
||||||
protected $object;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the fixture, for example, opens a network connection.
|
* Sets up the fixture, for example, opens a network connection.
|
||||||
|
Loading…
Reference in New Issue
Block a user