⬆️ Update utils package version
[Sone.git] / src / test / java / net / pterodactylus / sone / core / PreferencesLoaderTest.java
index 49777f0..72831fc 100644 (file)
@@ -16,8 +16,6 @@ import org.junit.Test;
 
 /**
  * Unit test for {@link PreferencesLoader}.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
  */
 public class PreferencesLoaderTest {
 
@@ -35,10 +33,6 @@ public class PreferencesLoaderTest {
                setupIntValue("CharactersPerPost", 150);
                setupIntValue("PostCutOffLength", 300);
                setupBooleanValue("RequireFullAccess", true);
-               setupIntValue("PositiveTrust", 50);
-               setupIntValue("NegativeTrust", -50);
-               when(configuration.getStringValue("Option/TrustComment")).thenReturn(
-                               TestValue.from("Trusted"));
                setupBooleanValue("ActivateFcpInterface", true);
                setupIntValue("FcpFullAccessRequired", 1);
        }
@@ -63,11 +57,8 @@ public class PreferencesLoaderTest {
                assertThat(preferences.getImagesPerPage(), is(12));
                assertThat(preferences.getCharactersPerPost(), is(150));
                assertThat(preferences.getPostCutOffLength(), is(300));
-               assertThat(preferences.isRequireFullAccess(), is(true));
-               assertThat(preferences.getPositiveTrust(), is(50));
-               assertThat(preferences.getNegativeTrust(), is(-50));
-               assertThat(preferences.getTrustComment(), is("Trusted"));
-               assertThat(preferences.isFcpInterfaceActive(), is(true));
+               assertThat(preferences.getRequireFullAccess(), is(true));
+               assertThat(preferences.getFcpInterfaceActive(), is(true));
                assertThat(preferences.getFcpFullAccessRequired(), is(WRITING));
        }