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>
|
<artifactId>rmp-common-library</artifactId>
|
||||||
<version>[2.7.2,3.0.0-SNAPSHOT)</version>
|
<version>[2.7.2,3.0.0-SNAPSHOT)</version>
|
||||||
</dependency>
|
</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>
|
<dependency>
|
||||||
<groupId>com.google.analytics</groupId>
|
<groupId>com.google.analytics</groupId>
|
||||||
<artifactId>google-analytics-data</artifactId>
|
<artifactId>google-analytics-data</artifactId>
|
||||||
|
|
|
@ -246,10 +246,10 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
||||||
|
|
||||||
ArrayList<AccountingRecord> accountingRecords = new ArrayList<>();
|
ArrayList<AccountingRecord> accountingRecords = new ArrayList<>();
|
||||||
|
|
||||||
//VREAccessesHarvester vreAccessesHarvester = null;
|
VREAccessesHarvester vreAccessesHarvester = null;
|
||||||
//JupyterAccessesHarvester vreAccessesHarvester = null;
|
//JupyterAccessesHarvester vreAccessesHarvester = null;
|
||||||
//RStudioAccessesHarvester vreAccessesHarvester = null;
|
//RStudioAccessesHarvester vreAccessesHarvester = null;
|
||||||
CoreServicesAccessesHarvester vreAccessesHarvester = null;
|
//CoreServicesAccessesHarvester vreAccessesHarvester = null;
|
||||||
|
|
||||||
for (String context : contexts) {
|
for (String context : contexts) {
|
||||||
ContextTest.set(context);
|
ContextTest.set(context);
|
||||||
|
@ -259,7 +259,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
||||||
if (vreAccessesHarvester == null) {
|
if (vreAccessesHarvester == null) {
|
||||||
|
|
||||||
if (scopeBean.is(Type.INFRASTRUCTURE)) {
|
if (scopeBean.is(Type.INFRASTRUCTURE)) {
|
||||||
vreAccessesHarvester = new CoreServicesAccessesHarvester(start, end);
|
vreAccessesHarvester = new VREAccessesHarvester(start, end);
|
||||||
} else {
|
} else {
|
||||||
// This code should be never used because the scopes
|
// This code should be never used because the scopes
|
||||||
// are sorted by fullname
|
// are sorted by fullname
|
||||||
|
@ -272,7 +272,7 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
||||||
// Setting back token for the context
|
// Setting back token for the context
|
||||||
ContextTest.set(parent.toString());
|
ContextTest.set(parent.toString());
|
||||||
|
|
||||||
vreAccessesHarvester = new CoreServicesAccessesHarvester(start, end);
|
vreAccessesHarvester = new VREAccessesHarvester(start, end);
|
||||||
|
|
||||||
// Setting back token for the context
|
// Setting back token for the context
|
||||||
ContextTest.set(context);
|
ContextTest.set(context);
|
||||||
|
|
Loading…
Reference in New Issue