Skip to content

Commit

Permalink
fix test (all assert are correct but replicate setup that was incorre…
Browse files Browse the repository at this point in the history
…ctly injected by jexample
  • Loading branch information
badetitou committed Oct 23, 2024
1 parent 213a448 commit da519cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/test/java/ch/akuhn/fame/test/ArrayFieldTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ public String exportModel(Tower t) {
}

@Test
@Given("#metamodel,#exportModel")
public void importModel(Tower t, String mse) {
@Given("#exportModel")
public void importModel(String mse) {
Tower t = new Tower();
t.metamodel.with(Dummy.class);
assertEquals(0, t.model.size());
t.model.importMSE(mse);
assertEquals(1, t.model.size());
Expand Down

0 comments on commit da519cf

Please sign in to comment.