Skip to content

Commit

Permalink
test: Re-added integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Golding committed Jan 16, 2025
1 parent a269adf commit 992ecfc
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class PredictedPieceSpec extends BaseSpec {
Map respMap = doPost("/serials-management/rulesets", [
rulesetStatus: ruleset_data.rulesetStatus.active,
recurrence: ruleset_data.recurrence.yearDate,
templateConfig: ruleset_data.templateConfig,
templateConfig: [ templateString: "123"],
owner:[
id: serialId
],
Expand All @@ -256,14 +256,14 @@ class PredictedPieceSpec extends BaseSpec {
then: "Ensure that response is ok and we have a new ruleset"
respMap.id != null

// when: "We ask the system to create a predicted piece set based off the previous ruleset"
// respMap = doPost("/serials-management/predictedPieces/create", [
// id: respMap.id,
// startDate: startDate
// ])
when: "We ask the system to create a predicted piece set based off the previous ruleset"
respMap = doPost("/serials-management/predictedPieces/create", [
id: respMap.id,
startDate: startDate
])

// then: "Ensure that response is ok and we have a new predicted piece set"
// respMap.id != null
then: "Ensure that response is ok and we have a new predicted piece set"
respMap.id != null
}
}

0 comments on commit 992ecfc

Please sign in to comment.