Skip to content
Snippets Groups Projects
Commit 89c072f0 authored by Simon Spinner's avatar Simon Spinner
Browse files

Fix broken tests after rename.

parent 9c1a7566
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ import org.junit.Before;
import tools.descartes.prisma.core.TestMessageBus;
import tools.descartes.prisma.core.TestModelRepository;
public class HypervisorScopeTest extends ContainerScopeTest<LogicalInfrastructureScope> {
public class HypervisorScopeTest extends ContainerScopeTest<PlatformScope> {
private static final String NAME = "vsphere";
......@@ -43,9 +43,9 @@ public class HypervisorScopeTest extends ContainerScopeTest<LogicalInfrastructur
messageBus = new TestMessageBus();
repository = new TestModelRepository(messageBus);
Scope scope = repository.getScope("virtual/" + NAME);
assertThat(scope).isInstanceOf(LogicalInfrastructureScope.class);
assertThat(scope).isInstanceOf(PlatformScope.class);
scope.create();
this.scope = (LogicalInfrastructureScope) scope;
this.scope = (PlatformScope) scope;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment