get('/login'); $response->assertSuccessful(); $response->assertViewIs('architect::auth.login'); } public function test_admin_dn_login() { $this->assertTrue($this->login()); $this->assertTrue(Auth::check()); $this->assertTrue(Session::has('username_encrypt')); $this->assertTrue(Session::has('password_encrypt')); } }