['bill'] ]); $this->withoutExceptionHandling(); $this->login()->init(); $response = $this->get('/setting'); $response->assertInertiaComponent('setting/Index'); $this->assertEquals(['bill'], $response->inertia('general.modes')); } public function testItGetsOptionsForModels(): void { $this->withoutExceptionHandling(); $this->login()->init(); $response = $this->get('/setting'); $this->assertContains('bill', $response->inertia('options.modes')); } }