Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Jan 22, 2024
1 parent f8281f4 commit 68df859
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/io/odh/test/unit/UnitTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import io.fabric8.kubernetes.client.dsl.Resource;
import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient;
import io.fabric8.kubernetes.client.server.mock.KubernetesMockServer;
import io.odh.test.OdhConstants;
import io.odh.test.TestSuite;
import io.odh.test.framework.ExtensionContextParameterResolver;
import io.odh.test.framework.listeners.TestVisualSeparator;
Expand Down Expand Up @@ -55,7 +54,7 @@ void testCreateDSCInitialization() {
.withName("default")
.endMetadata()
.withNewSpec()
.withApplicationsNamespace(OdhConstants.CONTROLLERS_NAMESPACE)
.withApplicationsNamespace("opendatahub")
.withNewMonitoring()
.withNamespace("monitoring")
.withManagementState(Monitoring.ManagementState.MANAGED)
Expand All @@ -73,7 +72,7 @@ void testCreateDSCInitialization() {

DSCInitialization returned = dsciClient.withName(dsci.getMetadata().getName()).get();

assertEquals("monitoring", returned.getSpec().getApplicationsNamespace());
assertEquals("opendatahub", returned.getSpec().getApplicationsNamespace());

dsciClient.withName(dsci.getMetadata().getName()).delete();

Expand Down

0 comments on commit 68df859

Please sign in to comment.