mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Implement tests.
This commit is contained in:
@@ -1362,12 +1362,12 @@ class TransactionControllerTest extends TestCase
|
||||
$response->assertStatus(200);
|
||||
$response->assertJson(
|
||||
[
|
||||
'data' => [
|
||||
'attributes' => [
|
||||
'description' => $journal->description,
|
||||
'type' => 'Deposit',
|
||||
],
|
||||
],
|
||||
'data' => [[
|
||||
'attributes' => [
|
||||
'description' => $journal->description,
|
||||
'type' => 'Deposit',
|
||||
],
|
||||
]],
|
||||
|
||||
]
|
||||
);
|
||||
@@ -1423,12 +1423,14 @@ class TransactionControllerTest extends TestCase
|
||||
$response->assertJson(
|
||||
[
|
||||
'data' => [
|
||||
'attributes' => [
|
||||
'description' => $journal->description,
|
||||
],
|
||||
'links' => [
|
||||
0 => [],
|
||||
'self' => true,
|
||||
[
|
||||
'attributes' => [
|
||||
'description' => $journal->description,
|
||||
],
|
||||
'links' => [
|
||||
0 => [],
|
||||
'self' => true,
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
|
Reference in New Issue
Block a user