Prevented encoding error in test

This commit is contained in:
Nicolas Seydoux 2020-11-30 10:12:03 +01:00
parent c527d6bd6a
commit 218dc0ac1d

View file

@ -57,7 +57,7 @@ public class TestModelFunctions
Controler c = new Controler();
TimestampEntity t = new TimestampEntity("2014-02-13T06:20:00");
String instantURI = c.getCustomModel().createInstant(t);
String paramURI = c.getModel().getEntityURI("Température").get(0);
String paramURI = c.getModel().getEntityURI("Temperature").get(0);
String value = "25.0";
String obsURI = c.getCustomModel().createObs(value, paramURI, instantURI);
// Entities relevant to the test