made all php unit tests pass again

This commit is contained in:
El RIDO
2019-05-10 07:55:39 +02:00
parent 59569bf9fc
commit 700f8a0ea7
11 changed files with 158 additions and 255 deletions

View File

@@ -191,16 +191,6 @@ class ModelTest extends PHPUnit_Framework_TestCase
$this->_model->getPaste('');
}
/**
* @expectedException Exception
* @expectedExceptionCode 61
*/
public function testInvalidData()
{
$paste = $this->_model->getPaste();
$paste->setData(array());
}
/**
* @expectedException Exception
* @expectedExceptionCode 62