Skip to content

Commit 2505f28

Browse files
Merge pull request #12 from RWTH-i5-IDSG/master
merge
2 parents ad4770d + 4bec150 commit 2505f28

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>de.rwth.idsg</groupId>
55
<artifactId>steve</artifactId>
6-
<version>3.0.1</version>
6+
<version>3.0.2</version>
77
<packaging>jar</packaging>
88

99
<organization>

src/test/java/de/rwth/idsg/steve/ApplicationJsonTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public class ApplicationJsonTest {
3434

3535
@BeforeClass
3636
public static void init() throws Exception {
37+
Assert.assertEquals(ApplicationProfile.TEST, SteveConfiguration.CONFIG.getProfile());
3738
__DatabasePreparer__.prepare();
3839

3940
app = new Application();

src/test/java/de/rwth/idsg/steve/ApplicationTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class ApplicationTest {
3535

3636
@BeforeClass
3737
public static void init() throws Exception {
38+
Assert.assertEquals(ApplicationProfile.TEST, SteveConfiguration.CONFIG.getProfile());
3839
__DatabasePreparer__.prepare();
3940

4041
app = new Application();

src/test/java/de/rwth/idsg/steve/OperationalTestSoapOCPP16.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public class OperationalTestSoapOCPP16 {
6060

6161
@BeforeClass
6262
public static void initClass() throws Exception {
63+
Assert.assertEquals(ApplicationProfile.TEST, SteveConfiguration.CONFIG.getProfile());
64+
6365
app = new Application();
6466
app.start();
6567
}
@@ -81,6 +83,8 @@ public void destroy() throws Exception {
8183

8284
@Test
8385
public void testUnregisteredCP() {
86+
Assert.assertFalse(SteveConfiguration.CONFIG.getOcpp().isAutoRegisterUnknownStations());
87+
8488
CentralSystemService client = getForOcpp16(path);
8589

8690
BootNotificationResponse boot = client.bootNotification(

0 commit comments

Comments
 (0)