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:
parent
d03d6798b4
commit
4c69a1e2dc
BIN
public/circle.png
Normal file
BIN
public/circle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 383 B |
BIN
public/gun.jpg
BIN
public/gun.jpg
Binary file not shown.
Before Width: | Height: | Size: 195 KiB |
BIN
public/test.jpg
Normal file
BIN
public/test.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.0 KiB |
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user