forked from aslan/applicant-site
fix lint and test
This commit is contained in:
parent
ebe604293f
commit
8a6e1bea3d
|
@ -56,7 +56,11 @@ class EntranceExaminationController extends Controller
|
||||||
Log::channel('app')
|
Log::channel('app')
|
||||||
->info(
|
->info(
|
||||||
'CREATE вступ. испытания {entranceExamination} - user {user}',
|
'CREATE вступ. испытания {entranceExamination} - user {user}',
|
||||||
['user' => Auth::user()->name, 'entranceExamination' => $entranceExamination->name, 'data' => $validated]
|
[
|
||||||
|
'user' => Auth::user()->name,
|
||||||
|
'entranceExamination' => $entranceExamination->name,
|
||||||
|
'data' => $validated
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
return redirect()->route('entrance_examinations.index');
|
return redirect()->route('entrance_examinations.index');
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
namespace Tests\Feature;
|
|
||||||
|
|
||||||
// use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
||||||
use Tests\TestCase;
|
|
||||||
|
|
||||||
class ExampleTest extends TestCase
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* A basic test example.
|
|
||||||
*/
|
|
||||||
public function testTheApplicationReturnsASuccessfulResponse(): void
|
|
||||||
{
|
|
||||||
$response = $this->get('/');
|
|
||||||
|
|
||||||
$response->assertStatus(200);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue