Skip to content

Commit

Permalink
ftest: Add 'fcli app get by name' test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Jul 17, 2023
1 parent 235e8bb commit e000435
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SSCAppSpec extends FcliBaseSpec {
}
}

def "get"() {
def "get.byId"() {
def args = ["ssc", "app", "get", version.get("application.id")]
when:
def result = Fcli.run(args)
Expand All @@ -34,4 +34,14 @@ class SSCAppSpec extends FcliBaseSpec {
it.any { it =~ version.appName }
}
}

def "get.byName"() {
def args = ["ssc", "app", "get", version.appName]
when:
def result = Fcli.run(args)
then:
verifyAll(result.stdout) {
it.any { it =~ version.appName }
}
}
}

0 comments on commit e000435

Please sign in to comment.