mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Code for upgrade of various libraries.
This commit is contained in:
@@ -96,7 +96,7 @@ class RecurrenceFactoryTest extends TestCase
|
||||
$data = [
|
||||
'recurrence' => [
|
||||
'type' => 'withdrawal',
|
||||
'first_date' => Carbon::create()->addDay(),
|
||||
'first_date' => Carbon::now()->addDay(),
|
||||
'repetitions' => 0,
|
||||
'title' => 'Test recurrence' . random_int(1, 100000),
|
||||
'description' => 'Description thing',
|
||||
@@ -190,7 +190,7 @@ class RecurrenceFactoryTest extends TestCase
|
||||
$data = [
|
||||
'recurrence' => [
|
||||
'type' => 'deposit',
|
||||
'first_date' => Carbon::create()->addDay(),
|
||||
'first_date' => Carbon::now()->addDay(),
|
||||
'repetitions' => 0,
|
||||
'title' => 'Test recurrence' . random_int(1, 100000),
|
||||
'description' => 'Description thing',
|
||||
@@ -286,7 +286,7 @@ class RecurrenceFactoryTest extends TestCase
|
||||
$data = [
|
||||
'recurrence' => [
|
||||
'type' => 'withdrawal',
|
||||
'first_date' => Carbon::create()->addDay(),
|
||||
'first_date' => Carbon::now()->addDay(),
|
||||
'repetitions' => 0,
|
||||
'title' => 'Test recurrence' . random_int(1, 100000),
|
||||
'description' => 'Description thing',
|
||||
@@ -380,7 +380,7 @@ class RecurrenceFactoryTest extends TestCase
|
||||
$data = [
|
||||
'recurrence' => [
|
||||
'type' => 'withdrawal',
|
||||
'first_date' => Carbon::create()->addDay(),
|
||||
'first_date' => Carbon::now()->addDay(),
|
||||
'repetitions' => 0,
|
||||
'title' => 'Test recurrence' . random_int(1, 100000),
|
||||
'description' => 'Description thing',
|
||||
@@ -474,7 +474,7 @@ class RecurrenceFactoryTest extends TestCase
|
||||
$data = [
|
||||
'recurrence' => [
|
||||
'type' => 'transfer',
|
||||
'first_date' => Carbon::create()->addDay(),
|
||||
'first_date' => Carbon::now()->addDay(),
|
||||
'repetitions' => 0,
|
||||
'title' => 'Test recurrence' . random_int(1, 100000),
|
||||
'description' => 'Description thing',
|
||||
|
||||
@@ -61,8 +61,8 @@ class MonthReportGeneratorTest extends TestCase
|
||||
/** @var Account $account */
|
||||
$account = $this->user()->accounts()->where('account_type_id', 3)->first();
|
||||
$date = new Carbon;
|
||||
$start = Carbon::create()->startOfMonth();
|
||||
$end = Carbon::create()->endOfMonth();
|
||||
$start = Carbon::now()->startOfMonth();
|
||||
$end = Carbon::now()->endOfMonth();
|
||||
$generator = new MonthReportGenerator();
|
||||
$generator->setStartDate($start);
|
||||
$generator->setEndDate($end);
|
||||
@@ -103,8 +103,8 @@ class MonthReportGeneratorTest extends TestCase
|
||||
/** @var Account $account */
|
||||
$account = $this->user()->accounts()->where('account_type_id', 3)->first();
|
||||
$date = new Carbon;
|
||||
$start = Carbon::create()->startOfMonth();
|
||||
$end = Carbon::create()->endOfMonth();
|
||||
$start = Carbon::now()->startOfMonth();
|
||||
$end = Carbon::now()->endOfMonth();
|
||||
$generator = new MonthReportGenerator();
|
||||
$generator->setStartDate($start);
|
||||
$generator->setEndDate($end);
|
||||
@@ -143,8 +143,8 @@ class MonthReportGeneratorTest extends TestCase
|
||||
/** @var Account $account */
|
||||
$account = $this->user()->accounts()->where('account_type_id', 3)->first();
|
||||
$date = new Carbon;
|
||||
$start = Carbon::create()->startOfMonth();
|
||||
$end = Carbon::create()->endOfMonth();
|
||||
$start = Carbon::now()->startOfMonth();
|
||||
$end = Carbon::now()->endOfMonth();
|
||||
$generator = new MonthReportGenerator();
|
||||
$generator->setStartDate($start);
|
||||
$generator->setEndDate($end);
|
||||
@@ -190,8 +190,8 @@ class MonthReportGeneratorTest extends TestCase
|
||||
/** @var Account $account */
|
||||
$account = $this->user()->accounts()->where('account_type_id', 3)->first();
|
||||
$date = new Carbon;
|
||||
$start = Carbon::create()->startOfMonth();
|
||||
$end = Carbon::create()->endOfMonth();
|
||||
$start = Carbon::now()->startOfMonth();
|
||||
$end = Carbon::now()->endOfMonth();
|
||||
$generator = new MonthReportGenerator();
|
||||
$generator->setStartDate($start);
|
||||
$generator->setEndDate($end);
|
||||
|
||||
@@ -603,7 +603,7 @@ class ImportArrayStorageTest extends TestCase
|
||||
return
|
||||
[
|
||||
'type' => 'transfer',
|
||||
'date' => Carbon::create()->format('Y-m-d'),
|
||||
'date' => Carbon::now()->format('Y-m-d'),
|
||||
'tags' => '',
|
||||
'user' => $this->user()->id,
|
||||
|
||||
@@ -652,7 +652,7 @@ class ImportArrayStorageTest extends TestCase
|
||||
return
|
||||
[
|
||||
'type' => 'withdrawal',
|
||||
'date' => Carbon::create()->format('Y-m-d'),
|
||||
'date' => Carbon::now()->format('Y-m-d'),
|
||||
'tags' => '',
|
||||
'user' => $this->user()->id,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user