Skip to content

Commit

Permalink
test: Functional test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Oct 19, 2023
1 parent 0a5b265 commit b591ed2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SSCAttributeDefinitionSpec extends FcliBaseSpec {
}

def "get.byId"() {
def args = "ssc attribute getdef ::definitions::get(0).id"
def args = "ssc attribute get-definition ::definitions::get(0).id"
when:
def result = Fcli.run(args)
then:
Expand All @@ -51,7 +51,7 @@ class SSCAttributeDefinitionSpec extends FcliBaseSpec {
}

def "get.byName"() {
def args = "ssc attribute getdef ::definitions::get(0).guid"
def args = "ssc attribute get-definition ::definitions::get(0).guid"
when:
def result = Fcli.run(args)
then:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
private static final String templateName = "fcli-test-Template"+random

def "list"() {
def args = "ssc issue-template list"
def args = "ssc issue list-templates"
when:
def result = Fcli.run(args)
then:
Expand All @@ -44,7 +44,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "create"() {
def args = "ssc issue-template create -n $templateName -f $templateFile -d auto\\ created\\ by\\ test"
def args = "ssc issue create-template -n $templateName -f $templateFile -d auto\\ created\\ by\\ test"
when:
def result = Fcli.run(args)
then:
Expand All @@ -57,7 +57,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "get.byName"() {
def args = "ssc issue-template get $templateName --store template"
def args = "ssc issue get-template $templateName --store template"
when:
def result = Fcli.run(args)
then:
Expand All @@ -68,7 +68,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "get.byId"() {
def args = "ssc issue-template get ::template::id"
def args = "ssc issue get-template ::template::id"
when:
def result = Fcli.run(args)
then:
Expand All @@ -79,7 +79,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "update"() {
def args = "ssc issue-template update ::template::id -n updatedName -d updatedDescr --set-as-default"
def args = "ssc issue update-template ::template::id -n updatedName -d updatedDescr --set-as-default"
when:
def result = Fcli.run(args)
then:
Expand All @@ -91,7 +91,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "verifyUpdate"() {
def args = "ssc issue-template get ::template::id"
def args = "ssc issue get-template ::template::id"
when:
def result = Fcli.run(args)
then:
Expand All @@ -102,7 +102,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "download"() {
def args = "ssc issue-template download ::template::id"
def args = "ssc issue download-template ::template::id"
when:
def result = Fcli.run(args)
then:
Expand All @@ -113,7 +113,7 @@ class SSCIssueTemplateSpec extends FcliBaseSpec {
}

def "delete"() {
def args = "ssc issue-template delete ::template::id"
def args = "ssc issue delete-template ::template::id"
when:
def result = Fcli.run(args)
then:
Expand Down

0 comments on commit b591ed2

Please sign in to comment.