Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
elopezcastro authored Nov 10, 2023
1 parent 26debcc commit 70590a7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@

public class TestSDLCLoader
{

@ClassRule
public static WireMockClassRule wireMockServer = new WireMockClassRule();

Expand All @@ -58,6 +59,8 @@ public class TestSDLCLoader

private static final MockTracer tracer = new MockTracer();

private static final String CLIENT_VERSION = "v1_33_0";

@BeforeClass
public static void setUpClass()
{
Expand Down Expand Up @@ -153,7 +156,7 @@ public void testSdlcLoaderForWorkspacesWithDependency() throws Exception

ModelManager modelManager = new ModelManager(DeploymentMode.TEST, tracer, sdlcLoader);

PureModelContextData pmcdLoaded = modelManager.loadData(pointer, "v1_32_0", Lists.fixedSize.empty());
PureModelContextData pmcdLoaded = modelManager.loadData(pointer, CLIENT_VERSION, Lists.fixedSize.empty());

Assert.assertNotNull(pmcdLoaded);
Assert.assertEquals(2, pmcdLoaded.getElements().size());
Expand Down

0 comments on commit 70590a7

Please sign in to comment.