mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
More code cleanup
This commit is contained in:
@@ -27,8 +27,12 @@ use Tests\integration\TestCase;
|
||||
|
||||
/**
|
||||
* Class AccountControllerTest
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
class AccountControllerTest extends TestCase
|
||||
final class AccountControllerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @covers \FireflyIII\Api\V1\Controllers\Autocomplete\AccountController
|
||||
|
@@ -27,7 +27,6 @@ use Illuminate\Foundation\Application;
|
||||
|
||||
/**
|
||||
* Trait CreatesApplication
|
||||
*
|
||||
*/
|
||||
trait CreatesApplication
|
||||
{
|
||||
@@ -38,7 +37,7 @@ trait CreatesApplication
|
||||
*/
|
||||
public function createApplication()
|
||||
{
|
||||
$app = require __DIR__ . '/../../bootstrap/app.php';
|
||||
$app = require __DIR__.'/../../bootstrap/app.php';
|
||||
|
||||
$app->make(Kernel::class)->bootstrap();
|
||||
|
||||
|
@@ -29,8 +29,12 @@ use Tests\integration\TestCase;
|
||||
|
||||
/**
|
||||
* Class BillDateCalculatorTest
|
||||
*
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
class BillDateCalculatorTest extends TestCase
|
||||
final class BillDateCalculatorTest extends TestCase
|
||||
{
|
||||
private BillDateCalculator $calculator;
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
/*
|
||||
* NavigationCustomEndOfPeriodTest.php
|
||||
* Copyright (c) 2023 james@firefly-iii.org
|
||||
@@ -29,7 +28,12 @@ use Carbon\Carbon;
|
||||
use FireflyIII\Support\Navigation;
|
||||
use Tests\integration\TestCase;
|
||||
|
||||
class NavigationCustomEndOfPeriodTest extends TestCase
|
||||
/**
|
||||
* @internal
|
||||
*
|
||||
* @coversNothing
|
||||
*/
|
||||
final class NavigationCustomEndOfPeriodTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @preserveGlobalState disabled
|
||||
|
@@ -36,9 +36,6 @@ abstract class TestCase extends BaseTestCase
|
||||
|
||||
protected const MAX_ITERATIONS = 2;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function dateRangeProvider(): array
|
||||
{
|
||||
return [
|
||||
|
@@ -30,9 +30,6 @@ use FireflyIII\User;
|
||||
*/
|
||||
trait CollectsValues
|
||||
{
|
||||
/**
|
||||
* @return User
|
||||
*/
|
||||
public function user(): User
|
||||
{
|
||||
return User::where('email', 'james@firefly')->first();
|
||||
|
Reference in New Issue
Block a user