mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 22:58:09 +00:00
Expand tests.
This commit is contained in:
@@ -16,6 +16,11 @@ use FireflyConfig;
|
||||
use FireflyIII\Models\Configuration;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Class ConfigurationControllerTest
|
||||
*
|
||||
* @package Tests\Feature\Controllers\Admin
|
||||
*/
|
||||
class ConfigurationControllerTest extends TestCase
|
||||
{
|
||||
|
||||
|
||||
@@ -13,6 +13,11 @@ namespace Tests\Feature\Controllers\Admin;
|
||||
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Class HomeControllerTest
|
||||
*
|
||||
* @package Tests\Feature\Controllers\Admin
|
||||
*/
|
||||
class HomeControllerTest extends TestCase
|
||||
{
|
||||
|
||||
|
||||
@@ -18,6 +18,11 @@ use FireflyIII\Support\Facades\Preferences;
|
||||
use Illuminate\Support\Collection;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Class UserControllerTest
|
||||
*
|
||||
* @package Tests\Feature\Controllers\Admin
|
||||
*/
|
||||
class UserControllerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
@@ -25,8 +30,6 @@ class UserControllerTest extends TestCase
|
||||
*/
|
||||
public function testEdit()
|
||||
{
|
||||
$repository = $this->mock(UserRepositoryInterface::class);
|
||||
|
||||
$this->be($this->user());
|
||||
$response = $this->get(route('admin.users.edit', [1]));
|
||||
$response->assertStatus(200);
|
||||
|
||||
Reference in New Issue
Block a user