Always use UTF-8

This commit is contained in:
Roland Praml
2022-01-11 10:11:13 +01:00
committed by FOCONIS\szemenyei
parent 0cf9f0bf58
commit 01847e44de
26 changed files with 189 additions and 117 deletions
@@ -8,13 +8,15 @@ import org.tests.model.basic.PersistentFileContent;
import static org.junit.jupiter.api.Assertions.assertNull;
import java.nio.charset.StandardCharsets;
public class TestDeleteOneToOne extends BaseTestCase {
@Test
public void testCreateDeletePersistentFile() {
PersistentFile persistentFile = new PersistentFile("test.txt", new PersistentFileContent(
"test".getBytes()));
"test".getBytes(StandardCharsets.UTF_8)));
DB.save(persistentFile);
Integer id = persistentFile.getId();