Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
Remove oCIS workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Apr 6, 2022
1 parent 74744d3 commit a20fd17
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions tests/providerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ describe('provider testing', () => {
const {
validAdminAuthHeaders,
applicationFormUrlEncoded,
getAuthHeaders,
sanitizeUrl,
getProviderBaseUrl
} = require('./helpers/pactHelper.js')
Expand Down Expand Up @@ -207,18 +206,6 @@ describe('provider testing', () => {
chai.assert.strictEqual(
result.status, 200, `creating user '${parameters.username}' failed`
)
// a hack for
// https://github.com/owncloud/ocis/issues/1675
// https://github.com/owncloud/ocis/issues/2027
if (isRunningWithOCIS()) {
for (let count = 1; count <= 2; count++) {
fetch(providerBaseUrl + '/ocs/v2.php/cloud/capabilities',
{
method: 'GET',
headers: { authorization: getAuthHeaders(parameters.username, parameters.password) }
})
}
}
return { description: 'user created' }
}
},
Expand Down

0 comments on commit a20fd17

Please sign in to comment.