Skip to content

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
  • Loading branch information
FriedJannik committed Feb 23, 2024
1 parent f985616 commit 2cd6772
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ public void deleteFileWithNoAuthorization() throws IOException {

@Test
public void patchSubmodelValueWithCorrectRoleAndPermission() throws IOException {
String accessToken = getAccessToken(DummyCredentialStore.BASYX_UPDATER_CREDENTIAL);
String accessToken = getAccessToken(DummyCredentialStore.BASYX_CREATOR_CREDENTIAL);

CloseableHttpResponse retrievalResponse = updateElementWithAuthorizationPatchRequest(
getSpecificSubmodelValueOnlyAccessURL(SPECIFIC_SUBMODEL_ID),
Expand All @@ -1085,7 +1085,7 @@ public void patchSubmodelValueWithCorrectRoleAndPermission() throws IOException

@Test
public void patchSubmodelValueWithCorrectRoleAndSpecificSubmodelPermission() throws IOException {
String accessToken = getAccessToken(DummyCredentialStore.BASYX_UPDATER_TWO_CREDENTIAL);
String accessToken = getAccessToken(DummyCredentialStore.BASYX_CREATOR_CREDENTIAL);

CloseableHttpResponse retrievalResponse = updateElementWithAuthorizationPatchRequest(
getSpecificSubmodelValueOnlyAccessURL(SPECIFIC_SUBMODEL_ID),
Expand Down

0 comments on commit 2cd6772

Please sign in to comment.