Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Adding a test for #116
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Nov 30, 2015
1 parent 9bc8483 commit 248b526
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/TestCase/View/Helper/ImageHelperTest.php
Expand Up @@ -67,6 +67,9 @@ public function testImage() {

$result = $this->Image->display($image, 't150');
$this->assertEquals($result, '<img src="/test/path/e479b480f60b11e1a21f0800200c9a66.c3f33c2a.jpg" alt=""/>');

$result = $this->Image->display($image);
$this->assertEquals($result, '<img src="/test/path/e479b480f60b11e1a21f0800200c9a66.jpg" alt=""/>');
}

/**
Expand Down

0 comments on commit 248b526

Please sign in to comment.