mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 23:28:20 +00:00
Improve test coverage and quality
This commit is contained in:
@@ -68,8 +68,8 @@ class BillControllerTest extends TestCase
|
||||
|
||||
// data to submit:
|
||||
$data = [
|
||||
'name' => 'New bill #' . random_int(1, 10000),
|
||||
'match' => 'some,words,' . random_int(1, 10000),
|
||||
'name' => 'New bill #' . $this->randomInt(),
|
||||
'match' => 'some,words,' . $this->randomInt(),
|
||||
'amount_min' => '66.34',
|
||||
'amount_max' => '45.67',
|
||||
'date' => '2018-01-01',
|
||||
@@ -121,8 +121,8 @@ class BillControllerTest extends TestCase
|
||||
|
||||
// data to submit:
|
||||
$data = [
|
||||
'name' => 'New bill #' . random_int(1, 10000),
|
||||
'match' => 'some,words,' . random_int(1, 10000),
|
||||
'name' => 'New bill #' . $this->randomInt(),
|
||||
'match' => 'some,words,' . $this->randomInt(),
|
||||
'amount_min' => '12.34',
|
||||
'amount_max' => '45.67',
|
||||
'date' => '2018-01-01',
|
||||
@@ -160,8 +160,8 @@ class BillControllerTest extends TestCase
|
||||
$repository->shouldReceive('update')->andReturn($bill);
|
||||
// data to submit:
|
||||
$data = [
|
||||
'name' => 'New bill #' . random_int(1, 10000),
|
||||
'match' => 'some,words,' . random_int(1, 10000),
|
||||
'name' => 'New bill #' . $this->randomInt(),
|
||||
'match' => 'some,words,' . $this->randomInt(),
|
||||
'amount_min' => '12.34',
|
||||
'amount_max' => '45.67',
|
||||
'date' => '2018-01-01',
|
||||
|
||||
Reference in New Issue
Block a user