package peergos.server.tests;

import org.junit.runner.*;
import org.junit.runners.*;

import java.util.*;

@RunWith(Parameterized.class)
public class RamUserTests extends UserTests {

    public RamUserTests(Random rnd) throws Exception {
        super("RAM", rnd);
    }

    @Parameterized.Parameters()
    public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {
                {new Random(1)}
        });
    }
}

@@ -24,16 +24,36 @@
 tests;%0A%0A
+import org.junit.*;%0A
 import o
@@ -98,16 +98,49 @@
 nners.*;
+%0Aimport peergos.server.storage.*;
 %0A%0Aimport
@@ -320,16 +320,110 @@
 %0A    %7D%0A%0A
+    @After%0A    public void clearRamIpfs() %7B%0A        RAMStorage.getSingleton().clear();%0A    %7D%0A%0A
     @Par

Clear Ram storage between tests