File tree Expand file tree Collapse file tree
tests/GroupDocs/Viewer/ApiTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "description" : " This repository contains GroupDocs.Viewer Cloud SDK for PHP source code." ,
33 "name" : " groupdocscloud/groupdocs-viewer-cloud" ,
4- "version" : " 20.3 " ,
4+ "version" : " 20.5 " ,
55 "license" : " MIT" ,
66 "type" : " library" ,
77 "keywords" : [
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class Configuration
9595 * Version of client SDK
9696 *
9797 */
98- protected $ clientVersion = '20.3 ' ;
98+ protected $ clientVersion = '20.5 ' ;
9999
100100 /*
101101 * Constructor
@@ -290,7 +290,7 @@ public function getClientName()
290290 }
291291
292292 /*
293- * Gets client version, default value is '20.3 '
293+ * Gets client version, default value is '20.5 '
294294 *
295295 */
296296 public function getClientVersion ()
@@ -308,7 +308,7 @@ public static function toDebugReport()
308308 $ report = 'PHP SDK (GroupDocs\Viewer) Debug Report: ' . PHP_EOL ;
309309 $ report .= ' OS: ' . php_uname () . PHP_EOL ;
310310 $ report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL ;
311- $ report .= ' SDK Package Version: 20.3 ' . PHP_EOL ;
311+ $ report .= ' SDK Package Version: 20.5 ' . PHP_EOL ;
312312 $ report .= ' Temp Folder Path: ' . self ::getDefaultConfiguration ()->getTempFolderPath () . PHP_EOL ;
313313
314314 return $ report ;
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ public function testCreateViewWithProjectOptions()
211211
212212 $ response = self ::$ viewApi ->createView ($ request );
213213
214- $ this ->assertEquals ( 1 , count ($ response ->getPages ()));
214+ $ this ->assertGreaterThan ( 0 , count ($ response ->getPages ()));
215215 }
216216
217217 public function testCreateViewWithHtmlViewOptions ()
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ public function testGetInfoWithHtmlViewFormat()
101101 $ this ->assertEquals (0 , count ($ response ->getAttachments ()));
102102 $ page = $ response ->getPages ()[0 ];
103103 $ this ->assertEquals (1 , $ page ->getNumber ());
104- $ this ->assertEquals (0 , $ page ->getWidth ());
105104 }
106105
107106 public function testGetInfoWithImageViewFormat ()
@@ -207,7 +206,7 @@ public function testGetInfoWithProjectOptions()
207206
208207 $ response = self ::$ infoApi ->getInfo ($ request );
209208
210- $ this ->assertEquals ( 1 , count ($ response ->getPages ()));
209+ $ this ->assertGreaterThan ( 0 , count ($ response ->getPages ()));
211210 }
212211
213212 public function testGetInfoWithImageOptions ()
You can’t perform that action at this time.
0 commit comments