mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Push updated tests.
This commit is contained in:
@@ -59,7 +59,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -96,7 +96,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -128,7 +128,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -142,7 +142,7 @@ class AccountTransformerTest extends TestCase
|
||||
'noteable_id' => $account->id,
|
||||
'noteable_type' => Account::class,
|
||||
'title' => null,
|
||||
'text' => 'I am a note #' . rand(1, 1000),
|
||||
'text' => 'I am a note #' . random_int(1, 1000),
|
||||
]
|
||||
);
|
||||
|
||||
@@ -220,7 +220,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 4, // expense account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -233,7 +233,7 @@ class AccountTransformerTest extends TestCase
|
||||
'noteable_id' => $account->id,
|
||||
'noteable_type' => Account::class,
|
||||
'title' => null,
|
||||
'text' => 'I am a note #' . rand(1, 1000),
|
||||
'text' => 'I am a note #' . random_int(1, 1000),
|
||||
]
|
||||
);
|
||||
|
||||
@@ -310,7 +310,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -369,7 +369,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -408,7 +408,7 @@ class AccountTransformerTest extends TestCase
|
||||
[
|
||||
'user_id' => $this->user()->id,
|
||||
'account_type_id' => 3, // asset account
|
||||
'name' => 'Random name #' . rand(1, 10000),
|
||||
'name' => 'Random name #' . random_int(1, 10000),
|
||||
'virtual_balance' => 12.34,
|
||||
'iban' => 'NL85ABNA0466812694',
|
||||
'active' => 1,
|
||||
@@ -421,7 +421,7 @@ class AccountTransformerTest extends TestCase
|
||||
'noteable_id' => $account->id,
|
||||
'noteable_type' => Account::class,
|
||||
'title' => null,
|
||||
'text' => 'I am a note #' . rand(1, 1000),
|
||||
'text' => 'I am a note #' . random_int(1, 1000),
|
||||
]
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user