Skip to content

Commit

Permalink
adding env for skipping test in ocis stable
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Panta committed Jul 3, 2024
1 parent 0c4b507 commit f53de4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def phpIntegrationTest(ctx, phpVersions, coverage):
"OCIS_URL": "https://ocis:9200",
"OCISWRAPPER_URL": "http://ocis:5200",
"COMPOSER_HOME": "%s/.cache/composer" % dir["base"],
"OCIS_VERSION": branch,
},
"commands": [
installPhpXdebugCommand(phpVersion),
Expand Down
4 changes: 4 additions & 0 deletions tests/integration/Owncloud/OcisPhpSdk/DriveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ public function testGetDriveRole(): void

public function testCreateDriveInvite(): void
{
if(getenv('OCIS_VERSION') === "stable") {
$this->markTestSkipped();
};
var_dump(getenv('OCIS_VERSION'));
$marieOcis = $this->initUser('marie', 'radioactivity');

$marie = $this->ocis->getUsers('marie')[0];
Expand Down

0 comments on commit f53de4f

Please sign in to comment.