Remove pointless singleton testing
This commit is contained in:
parent
800777a4e4
commit
d47ae1b9ae
2 changed files with 2 additions and 6 deletions
|
@ -41,6 +41,8 @@ class Message
|
|||
|
||||
/**
|
||||
* @return Message
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public static function getInstance()
|
||||
{
|
||||
|
|
|
@ -6,12 +6,6 @@
|
|||
class MessageTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testSingleton()
|
||||
{
|
||||
$this->assertInstanceOf('Message', Message::getInstance());
|
||||
}
|
||||
|
||||
|
||||
public function testAdd()
|
||||
{
|
||||
Message::getInstance()->add(Message::TYPE_SUCCESS, 'lorem');
|
||||
|
|
Loading…
Add table
Reference in a new issue