1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00

replaced test image

This commit is contained in:
Oliver Vogel 2013-02-02 11:43:41 +01:00
parent d03d6798b4
commit 4c69a1e2dc
4 changed files with 4 additions and 4 deletions

BIN
public/circle.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 383 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

BIN
public/test.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -7,7 +7,7 @@ class ImageTest extends PHPUnit_Framework_Testcase
{
private function getTestImage()
{
return new Image('public/gun.jpg');
return new Image('public/test.jpg');
}
public function testFilesystemLibraryIsAvailable()
@ -25,9 +25,9 @@ class ImageTest extends PHPUnit_Framework_Testcase
$this->assertEquals($img->width, 800);
$this->assertEquals($img->height, 600);
$this->assertEquals($img->dirname, 'public');
$this->assertEquals($img->basename, 'gun.jpg');
$this->assertEquals($img->basename, 'test.jpg');
$this->assertEquals($img->extension, 'jpg');
$this->assertEquals($img->filename, 'gun');
$this->assertEquals($img->filename, 'test');
}
public function testResizeImage()
@ -97,7 +97,7 @@ class ImageTest extends PHPUnit_Framework_Testcase
public function testInsertImage()
{
$img = $this->getTestImage();
$img->insert('public/gun.jpg', 10, 10);
$img->insert('public/test.jpg', 10, 10);
$this->assertInstanceOf('Intervention\Image\Image', $img);
}