Test fixes

This commit is contained in:
Alex Bilbie 2014-05-01 14:57:12 +01:00
parent 8b4b884a03
commit e5315dc016
2 changed files with 3 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class Session
return $this->client;
}
$this->client = $this->server->getStorage('client')->getBySession($this->getId());
$this->client = $this->server->getStorage('client')->getBySession($this);
return $this->client;
}

View File

@ -11,6 +11,8 @@
namespace League\OAuth2\Server\Storage;
use League\OAuth2\Server\Entity\Session;
/**
* Client storage interface
*/