/** * @test */ public function shouldBeAbleToSignIn() { // given $this->createUser("username", "Pass1234"); LudoDB::enableSqlLogging(); /// when $login = new Session(); $login->signIn(array("username" => "username", "password" => md5("Pass1234"))); // then $this->assertNotNull($login->getKey()); $this->assertTrue($login->isSignedIn()); }