Skip to content

Commit cdda3c9

Browse files
[~] Fix failing variance analysis test CactuseSecurity#2822
1 parent f7f109a commit cdda3c9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

roles/tests-unit/files/FWO.Test/ModellingVarianceAnalysisTestApiConn.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using FWO.Api.Client.Queries;
1+
using FWO.Api.Client.Queries;
22
using GraphQL;
33
using FWO.Basics;
44
using FWO.Services;
@@ -60,10 +60,17 @@ public override async Task<QueryResponseType> SendQueryAsync<QueryResponseType>(
6060
}
6161
else if (responseType == typeof(List<ModellingAppZone>))
6262
{
63-
GraphQLResponse<dynamic> response = new() { Data = new List<ModellingAppZone>(){ AZExist }};
63+
GraphQLResponse<dynamic> response = new() { Data = new List<ModellingAppZone>() { AZExist } };
6464

6565
return response.Data;
6666
}
67+
else if (responseType == typeof(List<ModellingAppServer>))
68+
{
69+
GraphQLResponse<dynamic> response = new() { Data = new List<ModellingAppServer>() { AppServer1, AppServer2 } };
70+
71+
return response.Data;
72+
}
73+
6774
throw new NotImplementedException();
6875
}
6976
}

0 commit comments

Comments
 (0)