From 83a2d39528664ebbc2750de42e79ef1c01392c56 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 31 Oct 2010 02:16:53 +0000 Subject: Fixed bug in regression test for upscaling turned off git-svn-id: http://code.elgg.org/elgg/trunk@7168 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/tests/regression/trac_bugs.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/tests/regression/trac_bugs.php') 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']); } -- cgit v1.2.3