From 9db7709b62e0ab4feb7548908ab7d43fb8053221 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Thu, 28 Mar 2013 14:47:38 +0100 Subject: [PATCH] removed redundant tests --- tests/ImageTest.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/tests/ImageTest.php b/tests/ImageTest.php index 3807f4ac..09f795f3 100644 --- a/tests/ImageTest.php +++ b/tests/ImageTest.php @@ -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');