From 844ecc5cdbaf716e87d821b1a91d76c9d133e308 Mon Sep 17 00:00:00 2001 From: Neil Kandalgaonkar Date: Tue, 2 Aug 2011 00:36:38 +0000 Subject: [PATCH] add maxWidth param --- tests/phpunit/includes/api/RandomImageGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/api/RandomImageGenerator.php b/tests/phpunit/includes/api/RandomImageGenerator.php index ae349978d9..69c017a3d8 100644 --- a/tests/phpunit/includes/api/RandomImageGenerator.php +++ b/tests/phpunit/includes/api/RandomImageGenerator.php @@ -69,7 +69,7 @@ class RandomImageGenerator { public function __construct( $options = array() ) { - foreach ( array( 'dictionaryFile', 'minWidth', 'minHeight', 'maxHeight', 'shapesToDraw' ) as $property ) { + foreach ( array( 'dictionaryFile', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'shapesToDraw' ) as $property ) { if ( isset( $options[$property] ) ) { $this->$property = $options[$property]; } -- 2.20.1