Skip to content

Commit

Permalink
Added simple tests for controller
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Mar 5, 2017
1 parent dd61ea6 commit bf5d47a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Tests/Controller/AuthControllerTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/*
* (c) Christian Gripp <mail@core23.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Core23\LastFmBundle\Tests\Controller;

use Core23\LastFmBundle\Controller\AuthController;
use PHPUnit\Framework\TestCase;

class AuthControllerTest extends TestCase
{
private $controller;

protected function setUp()
{
$this->controller = new AuthController();
}

public function testItIsInstantiable()
{
$this->assertNotNull($this->controller);
}
}

0 comments on commit bf5d47a

Please sign in to comment.