Skip to content

Commit b5e9eb2

Browse files
committed
Updated sources
1 parent 03e61a1 commit b5e9eb2

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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": [

src/GroupDocs/Viewer/Configuration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

tests/GroupDocs/Viewer/ApiTests/ViewerCreateViewApiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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()

tests/GroupDocs/Viewer/ApiTests/ViewerGetInfoApiTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)