static random fields should not be used with graalvm as they are seeded at compile time and thus not random anymore

This commit is contained in:
Athou
2026-06-13 12:03:50 +02:00
parent 1388fba8e4
commit 00d7be735a
3 changed files with 29 additions and 16 deletions

View File

@@ -1,12 +1,18 @@
package com.commafeed.backend.feed;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
class ImageProxyUrlTest {
@BeforeAll
static void init() {
ImageProxyUrl.generateKey();
}
@ParameterizedTest
@ValueSource(
strings = {