Skip to content

Commit

Permalink
Merge pull request #31677 from owncloud/fix-apiVersion-type
Browse files Browse the repository at this point in the history
Fix apiVersion type and createShare call parameters
  • Loading branch information
phil-davis authored Jun 7, 2018
2 parents dee3c09 + 92879f1 commit 94d8747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/acceptance/features/bootstrap/BasicStructure.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public function getRemoteBaseUrlWithoutScheme() {
* @return void
*/
public function usingApiVersion($version) {
$this->apiVersion = $version;
$this->apiVersion = (int) $version;
}

/**
Expand Down
1 change: 1 addition & 0 deletions tests/acceptance/features/bootstrap/Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ public function createShare(
$password,
$permissions,
$linkName,
null, //expireDate
$this->apiVersion,
$this->sharingApiVersion
);
Expand Down

0 comments on commit 94d8747

Please sign in to comment.