Fixed unit tests

This commit is contained in:
Constantin Graf
2024-04-02 14:27:26 +02:00
parent ba0212ea01
commit 2adbfba323
3 changed files with 1 additions and 22 deletions

View File

@@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*/
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
$response->assertStatus(200);
}
}

View File

@@ -156,6 +156,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
public function test_index_endpoint_filter_only_full_dates_returns_time_entries_for_the_whole_day_case_less_time_entries_than_limit(): void
{
// Arrange
$data = $this->createUserWithPermission([
'time-entries:view:own',
]);