mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 16:57:09 +00:00
Restructure code to rename a variable.
This commit is contained in:
@@ -306,7 +306,7 @@ class SingleControllerTest extends TestCase
|
||||
$response->assertStatus(200);
|
||||
// has bread crumb
|
||||
$response->assertSee('<ol class="breadcrumb">');
|
||||
$response->assertSee(' name="source_account_name" type="text" value="">');
|
||||
$response->assertSee(' name="source_name" type="text" value="">');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -352,7 +352,7 @@ class SingleControllerTest extends TestCase
|
||||
$response->assertStatus(200);
|
||||
// has bread crumb
|
||||
$response->assertSee('<ol class="breadcrumb">');
|
||||
$response->assertSee(' name="destination_account_name" type="text" value="">');
|
||||
$response->assertSee(' name="destinationt_name" type="text" value="">');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -592,8 +592,8 @@ class SingleControllerTest extends TestCase
|
||||
'what' => 'withdrawal',
|
||||
'amount' => '10',
|
||||
'amount_currency_id_amount' => 1,
|
||||
'source_account_id' => 1,
|
||||
'destination_account_name' => 'Some destination',
|
||||
'source_id' => 1,
|
||||
'destination_name' => 'Some destination',
|
||||
'date' => '2016-01-01',
|
||||
'description' => 'Test descr',
|
||||
];
|
||||
@@ -645,8 +645,8 @@ class SingleControllerTest extends TestCase
|
||||
'what' => 'withdrawal',
|
||||
'amount' => '10',
|
||||
'amount_currency_id_amount' => 1,
|
||||
'source_account_id' => 1,
|
||||
'destination_account_name' => 'Some destination',
|
||||
'source_id' => 1,
|
||||
'destination_name' => 'Some destination',
|
||||
'date' => '2016-01-01',
|
||||
'description' => 'Test descr',
|
||||
];
|
||||
@@ -700,8 +700,8 @@ class SingleControllerTest extends TestCase
|
||||
'what' => 'deposit',
|
||||
'amount' => '10',
|
||||
'amount_currency_id_amount' => 1,
|
||||
'destination_account_id' => 1,
|
||||
'source_account_name' => 'Some source',
|
||||
'destination_id' => 1,
|
||||
'source_name' => 'Some source',
|
||||
'date' => '2016-01-01',
|
||||
'description' => 'Test descr',
|
||||
];
|
||||
@@ -756,8 +756,8 @@ class SingleControllerTest extends TestCase
|
||||
'what' => 'transfer',
|
||||
'amount' => '10',
|
||||
'amount_currency_id_amount' => 1,
|
||||
'destination_account_id' => 1,
|
||||
'source_account_id' => 2,
|
||||
'destination_id' => 1,
|
||||
'source_id' => 2,
|
||||
'date' => '2016-01-01',
|
||||
'description' => 'Test descr',
|
||||
];
|
||||
@@ -814,8 +814,8 @@ class SingleControllerTest extends TestCase
|
||||
'amount_currency_id_amount' => 1,
|
||||
'source_account_currency' => 1,
|
||||
'destination_account_currency' => 2,
|
||||
'destination_account_id' => 1,
|
||||
'source_account_id' => 2,
|
||||
'destination_id' => 1,
|
||||
'source_id' => 2,
|
||||
'date' => '2016-01-01',
|
||||
'description' => 'Test descr',
|
||||
];
|
||||
@@ -872,8 +872,8 @@ class SingleControllerTest extends TestCase
|
||||
'id' => 123,
|
||||
'what' => 'withdrawal',
|
||||
'description' => 'Updated groceries',
|
||||
'source_account_id' => 1,
|
||||
'destination_account_name' => 'PLUS',
|
||||
'source_id' => 1,
|
||||
'destination_name' => 'PLUS',
|
||||
'amount' => '123',
|
||||
'amount_currency_id_amount' => 1,
|
||||
'budget_id' => 1,
|
||||
|
Reference in New Issue
Block a user