* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0 */ use App\Models\User; test('clear all cache returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('clear cache returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('clear config returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('clear route returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('clear view returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('index returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->get(route('staff.commands.index')); $response->assertOk(); $response->assertViewIs('Staff.command.index'); // TODO: perform additional assertions }); test('maintenance disable returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('maintenance enable returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('set all cache returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); test('test email returns an ok response', function (): void { $this->markTestIncomplete('This test case was generated by Shift. When you are ready, remove this line and complete this test case.'); $user = User::factory()->create(); $response = $this->actingAs($user)->post(route('staff.'), [ // TODO: send request data ]); $response->assertOk(); // TODO: perform additional assertions }); // test cases...