Skip to content

Commit

Permalink
Use ApplicationName in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
talyssoncastro committed Dec 7, 2023
1 parent ba93516 commit 9e22042
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,15 @@ class CloudhubV2DeploymentRequestTest implements MavenInvoke {
'theKey',
'theClientId',
'theSecret',
null,
new ApplicationName('new-app',true,false,'prefix',null),
new ApplicationName('new-app',false,false,null,null),
'2.2.9',
'f2ea2cb4-c600-4bb5-88e8-e952ff5591ee')

def appInfo = request.getCloudhubAppInfo()

assertThat appInfo,
is(equalTo([
name: 'new-app-dev',
name: 'new-app',
application: [
ref: [
groupId: 'f2ea2cb4-c600-4bb5-88e8-e952ff5591ee',
Expand All @@ -106,6 +105,14 @@ class CloudhubV2DeploymentRequestTest implements MavenInvoke {
properties: [:]
]
],
integrations:[
services : [
objectStoreV2: [
enabled: false
]
]
],
objectStoreV2Enabled: false,
"vCores": VCoresSize.vCore1GB.vCoresSize
],
target: [
Expand Down

0 comments on commit 9e22042

Please sign in to comment.