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:
Wouter Born
2023-03-12 23:00:58 +01:00
committed by GitHub
parent 9fedfc5d61
commit 9aa72abd82
22 changed files with 201 additions and 181 deletions

View File

@@ -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());
}