Resolve runbundles and fix tests (#14588)
Related to: * openhab/openhab-core#3433 * openhab/openhab-core#3446 * openhab/openhab-core#3450 Some tests were updated because private lifecycle methods (annotated with @BeforeAll, @AfterAll, @BeforeEach, or @AfterEach) now lead to an exception. See: https://junit.org/junit5/docs/current/release-notes/index.html#deprecations-and-breaking-changes-3 Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -54,12 +54,12 @@ public class TestStoreMixedTypesTest extends BaseIntegrationTest {
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
private void generateUniqueItemId() {
|
||||
public void generateUniqueItemId() {
|
||||
uniqueId = testCounter.getAndIncrement();
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
private void tearDownLocalItems() {
|
||||
public void tearDownLocalItems() {
|
||||
ITEMS.remove(getItemName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user