Move Gitlab and Github authentication to external plugins

This commit is contained in:
Frederic Guillot
2016-01-29 23:59:58 -05:00
parent 04d8c6532c
commit 9b9d823f30
46 changed files with 6 additions and 1177 deletions

View File

@@ -10,6 +10,7 @@ use SimpleLogger\Logger;
use SimpleLogger\File;
use Kanboard\Core\Session\FlashMessage;
use Kanboard\Core\Session\SessionStorage;
use Kanboard\Core\Action\ActionManager;
class FakeHttpClient
{
@@ -104,6 +105,7 @@ abstract class Base extends PHPUnit_Framework_TestCase
->getMock();
$this->container['sessionStorage'] = new SessionStorage;
$this->container['actionManager'] = new ActionManager($this->container);
$this->container['flash'] = function($c) {
return new FlashMessage($c);