From 9e22042798338b897c3b9594ec5fbbdf1f4a91c9 Mon Sep 17 00:00:00 2001
From: Talysson Castro <talyssoncastro@gmail.com>
Date: Thu, 7 Dec 2023 15:30:26 -0300
Subject: [PATCH] Use ApplicationName in tests

---
 .../models/CloudhubV2DeploymentRequestTest.groovy   | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/library/src/test/java/com/avioconsulting/mule/deployment/api/models/CloudhubV2DeploymentRequestTest.groovy b/library/src/test/java/com/avioconsulting/mule/deployment/api/models/CloudhubV2DeploymentRequestTest.groovy
index 0ed9e66f..26fcf535 100644
--- a/library/src/test/java/com/avioconsulting/mule/deployment/api/models/CloudhubV2DeploymentRequestTest.groovy
+++ b/library/src/test/java/com/avioconsulting/mule/deployment/api/models/CloudhubV2DeploymentRequestTest.groovy
@@ -82,8 +82,7 @@ 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')
 
@@ -91,7 +90,7 @@ class CloudhubV2DeploymentRequestTest implements MavenInvoke {
 
         assertThat appInfo,
                    is(equalTo([
-                           name: 'new-app-dev',
+                           name: 'new-app',
                            application: [
                                    ref: [
                                            groupId: 'f2ea2cb4-c600-4bb5-88e8-e952ff5591ee',
@@ -106,6 +105,14 @@ class CloudhubV2DeploymentRequestTest implements MavenInvoke {
                                                    properties: [:]
                                            ]
                                    ],
+                                   integrations:[
+                                           services : [
+                                                   objectStoreV2: [
+                                                           enabled: false
+                                                   ]
+                                           ]
+                                   ],
+                                   objectStoreV2Enabled: false,
                                    "vCores": VCoresSize.vCore1GB.vCoresSize
                            ],
                            target: [