Changeset 33846 for trunk/tests/phpunit/tests/image/intermediate_size.php
- Timestamp:
- 09/01/2015 05:03:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/intermediate_size.php
r33807 r33846 99 99 // test for the expected string because the array will by definition 100 100 // return with the correct height and width attributes 101 $this->assert NotFalse( strpos( $image['file'], '330x220' ));101 $this->assertTrue( strpos( $image['file'], '330x220' ) > 0 ); 102 102 103 103 // cleanup … … 123 123 // test for the expected string because the array will by definition 124 124 // return with the correct height and width attributes 125 $this->assert NotFalse( strpos( $image['file'], '330x220' ));125 $this->assertTrue( strpos( $image['file'], '330x220' ) > 0 ); 126 126 127 127 // cleanup … … 150 150 // you have to test for the string because the image will by definition 151 151 // return with the correct height and width attributes 152 $this->assert NotFalse( strpos( $image['file'], '450x300' ));152 $this->assertTrue( strpos( $image['file'], '450x300' ) > 0 ); 153 153 154 154 // cleanup … … 207 207 // test for the expected string because the array will by definition 208 208 // return with the correct height and width attributes 209 $this->assert NotFalse( strpos( $image['file'], $image_w . 'x' . $image_h ));209 $this->assertTrue( strpos( $image['file'], $image_w . 'x' . $image_h ) > 0 ); 210 210 211 211 // cleanup … … 238 238 // test for the expected string because the array will by definition 239 239 // return with the correct height and width attributes 240 $this->assert NotFalse( strpos( $image['file'], $image_w . 'x' . $image_h ));240 $this->assertTrue( strpos( $image['file'], $image_w . 'x' . $image_h ) > 0 ); 241 241 242 242 // cleanup
Note: See TracChangeset
for help on using the changeset viewer.