mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Fixed failing storage policy tests due to not calculating the available storage
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.qortal.test.arbitrary;
|
||||
|
||||
import org.apache.commons.lang3.reflect.FieldUtils;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.qortal.account.PrivateKeyAccount;
|
||||
@@ -31,6 +32,12 @@ public class ArbitraryDataStoragePolicyTests extends Common {
|
||||
@Before
|
||||
public void beforeTest() throws DataException {
|
||||
Common.useDefaultSettings();
|
||||
ArbitraryDataStorageManager.getInstance().start();
|
||||
}
|
||||
|
||||
@After
|
||||
public void afterTest() throws DataException {
|
||||
ArbitraryDataStorageManager.getInstance().shutdown();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user