aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/regression/trac_bugs.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 02:16:53 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-31 02:16:53 +0000
commit83a2d39528664ebbc2750de42e79ef1c01392c56 (patch)
tree1fda5a59cbcaaad62f12132cdf459d2d069e8e76 /engine/tests/regression/trac_bugs.php
parentb197bf739abe7c94c9b107e50ba7bbe104ccb314 (diff)
downloadelgg-83a2d39528664ebbc2750de42e79ef1c01392c56.tar.gz
elgg-83a2d39528664ebbc2750de42e79ef1c01392c56.tar.bz2
Fixed bug in regression test for upscaling turned off
git-svn-id: http://code.elgg.org/elgg/trunk@7168 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/regression/trac_bugs.php')
-rw-r--r--engine/tests/regression/trac_bugs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/tests/regression/trac_bugs.php b/engine/tests/regression/trac_bugs.php
index 0cc304eaf..93831fd7e 100644
--- a/engine/tests/regression/trac_bugs.php
+++ b/engine/tests/regression/trac_bugs.php
@@ -104,11 +104,11 @@ class ElggCoreRegressionBugsTest extends ElggCoreUnitTest {
'y2' => 150
);
- // should get back the same x/y offset == x1, y1 and an image of 50x50
+ // should get back the same x/y offset == x1, y1 and an image of 25x25
$params = get_image_resize_parameters($orig_width, $orig_height, $options);
- $this->assertEqual($params['newwidth'], $options['maxwidth']);
- $this->assertEqual($params['newheight'], $options['maxheight']);
+ $this->assertEqual($params['newwidth'], 25);
+ $this->assertEqual($params['newheight'], 25);
$this->assertEqual($params['xoffset'], $options['x1']);
$this->assertEqual($params['yoffset'], $options['y1']);
}