Skip to content

Commit

Permalink
Merge pull request #952 from ibragins/align_6.2.0_with_7
Browse files Browse the repository at this point in the history
Aligned var names and values to match 7.0
  • Loading branch information
ibragins authored Feb 7, 2024
2 parents 05f5a94 + a5c445e commit d91154b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/tests/upgrade/create_upgrade_data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe(["@pre-upgrade"], "Creating pre-requisites before an upgrade", () => {
});

it("Assess application", function () {
assessment.name = this.upgradeData.assessmentName;
assessment.name = this.upgradeData.assessmentApplicationName;
assessment.create();
assessment.perform_assessment("low", [stakeHolder.name]);
});
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export type RbacValidationRules = {
};

export type UpgradeData = {
assessmentName?: string;
jobFunctionName?: string;
stakeHolderGroupName?: string;
stakeHolderName?: string;
Expand All @@ -174,6 +173,7 @@ export type UpgradeData = {
sourceApplicationName?: string;
binaryApplicationName?: string;
uploadBinaryApplicationName?: string;
assessmentApplicationName?: string;
};

export type RulesRepositoryFields = {
Expand Down
4 changes: 2 additions & 2 deletions cypress/fixtures/upgrade-data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"assessmentName": "upgrade-assessment",
"jobFunctionName": "upgrade-jobFunction",
"stakeHolderGroupName": "upgrade-stakeHolderGroup",
"stakeHolderName": "upgrade-stakeHolder",
Expand All @@ -10,5 +9,6 @@
"mavenUsernameCredentialName": "upgrade-mavenUsername",
"sourceApplicationName": "upgrade-sourceApp",
"binaryApplicationName": "upgrade-binaryApp",
"uploadBinaryApplicationName": "upgrade-uploadBinaryApp"
"uploadBinaryApplicationName": "upgrade-uploadBinaryApp",
"assessmentApplicationName": "upgrade-assessmentApplication"
}

0 comments on commit d91154b

Please sign in to comment.