1
0
mirror of https://github.com/Intervention/image.git synced 2025-09-02 10:23:29 +02:00

removed redundant tests

This commit is contained in:
Oliver Vogel
2013-03-28 14:47:38 +01:00
parent a0fe2d298f
commit 9db7709b62

View File

@@ -1025,34 +1025,6 @@ class ImageTest extends PHPUnit_Framework_Testcase
$this->assertInstanceOf('Intervention\Image\Image', $img);
}
public function testBrightnessException()
{
$img = $this->getTestImage();
// test exception
try {
$img->brightness(255);
} catch (Exception $e) {
return;
}
$this->fail('An expected exception has not been raised for brightness filter');
}
public function testContrastException()
{
$img = $this->getTestImage();
// test exception
try {
$img->contrast(255);
} catch (Exception $e) {
return;
}
$this->fail('An expected exception has not been raised for contrast filter');
}
public function testStaticCallMake()
{
$img = Image::make('public/test.jpg');