Push updated tests.

This commit is contained in:
James Cole
2018-03-28 19:38:20 +02:00
parent be5c44af61
commit 0a71077513
55 changed files with 344 additions and 266 deletions

View File

@@ -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),
]
);