fixed the test classe
This commit is contained in:
parent
284431ca8d
commit
850d6674e5
11
pom.xml
11
pom.xml
|
@ -53,17 +53,6 @@
|
|||
<artifactId>rmp-common-library</artifactId>
|
||||
<version>[2.7.2,3.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.apis</groupId>
|
||||
<artifactId>google-api-services-analyticsreporting</artifactId>
|
||||
<version>v4-rev124-1.23.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava-jdk5</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.analytics</groupId>
|
||||
<artifactId>google-analytics-data</artifactId>
|
||||
|
|
|
@ -246,10 +246,10 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
|||
|
||||
ArrayList<AccountingRecord> accountingRecords = new ArrayList<>();
|
||||
|
||||
//VREAccessesHarvester vreAccessesHarvester = null;
|
||||
VREAccessesHarvester vreAccessesHarvester = null;
|
||||
//JupyterAccessesHarvester vreAccessesHarvester = null;
|
||||
//RStudioAccessesHarvester vreAccessesHarvester = null;
|
||||
CoreServicesAccessesHarvester vreAccessesHarvester = null;
|
||||
//CoreServicesAccessesHarvester vreAccessesHarvester = null;
|
||||
|
||||
for (String context : contexts) {
|
||||
ContextTest.set(context);
|
||||
|
@ -259,7 +259,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
|||
if (vreAccessesHarvester == null) {
|
||||
|
||||
if (scopeBean.is(Type.INFRASTRUCTURE)) {
|
||||
vreAccessesHarvester = new CoreServicesAccessesHarvester(start, end);
|
||||
vreAccessesHarvester = new VREAccessesHarvester(start, end);
|
||||
} else {
|
||||
// This code should be never used because the scopes
|
||||
// are sorted by fullname
|
||||
|
@ -272,7 +272,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
|||
// Setting back token for the context
|
||||
ContextTest.set(parent.toString());
|
||||
|
||||
vreAccessesHarvester = new CoreServicesAccessesHarvester(start, end);
|
||||
vreAccessesHarvester = new VREAccessesHarvester(start, end);
|
||||
|
||||
// Setting back token for the context
|
||||
ContextTest.set(context);
|
||||
|
|
Loading…
Reference in New Issue