Fix another test

This commit is contained in:
Vankka 2023-12-07 23:15:40 +02:00
parent e46406683c
commit ef145916e9
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -23,6 +23,7 @@ import com.discordsrv.common.linking.requirelinking.requirement.parser.Requireme
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.function.Executable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
@ -69,7 +70,7 @@ public class RequirementParserTest {
);
private boolean parse(String input) {
return requirementParser.parse(input, requirements).apply(null, 0L).join();
return requirementParser.parse(input, requirements, new ArrayList<>()).apply(null, 0L).join();
}
@Test