mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup.
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Api\Models\AvailableBudget;
|
||||
|
||||
|
||||
use Laravel\Passport\Passport;
|
||||
use Log;
|
||||
use Tests\Objects\Field;
|
||||
@@ -94,8 +94,6 @@ class StoreControllerTest extends TestCase
|
||||
|
||||
return $configuration->generateAll();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param array $submission
|
||||
*
|
||||
@@ -116,4 +114,4 @@ class StoreControllerTest extends TestCase
|
||||
$address = route('api.v1.available_budgets.store');
|
||||
$this->assertPOST($address, $submission);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -19,9 +19,9 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Api\Models\AvailableBudget;
|
||||
|
||||
|
||||
use Faker\Factory;
|
||||
use Laravel\Passport\Passport;
|
||||
use Log;
|
||||
@@ -48,8 +48,6 @@ class UpdateControllerTest extends TestCase
|
||||
Passport::actingAs($this->user());
|
||||
Log::info(sprintf('Now in %s.', get_class($this)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param array $submission
|
||||
*
|
||||
@@ -69,8 +67,6 @@ class UpdateControllerTest extends TestCase
|
||||
$route = route('api.v1.available_budgets.update', $submission['parameters']);
|
||||
$this->assertPUT($route, $submission);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
@@ -122,4 +118,4 @@ class UpdateControllerTest extends TestCase
|
||||
|
||||
return $configuration->generateAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user