StatusConfigTest: Fix isDisabledForProject_invalidValueInGerritConfigIsIgnored

Since there was an invalid value configured on project level, the code
that handles the invalid value in gerrit.config was not reached.

This increases the test coverage for StatusConfig from 94.4% to 98.3%.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: I21321a6993387b943e8c12763fcc05fad77b939b
diff --git a/javatests/com/google/gerrit/plugins/codeowners/backend/config/StatusConfigTest.java b/javatests/com/google/gerrit/plugins/codeowners/backend/config/StatusConfigTest.java
index a43ab3d..8dc2a22 100644
--- a/javatests/com/google/gerrit/plugins/codeowners/backend/config/StatusConfigTest.java
+++ b/javatests/com/google/gerrit/plugins/codeowners/backend/config/StatusConfigTest.java
@@ -97,9 +97,7 @@
   @Test
   @GerritConfig(name = "plugin.code-owners.disabled", value = "INVALID")
   public void isDisabledForProject_invalidValueInGerritConfigIsIgnored() throws Exception {
-    Config cfg = new Config();
-    cfg.setString(SECTION_CODE_OWNERS, null, KEY_DISABLED, "invalid");
-    assertThat(statusConfig.isDisabledForProject(cfg, project)).isFalse();
+    assertThat(statusConfig.isDisabledForProject(new Config(), project)).isFalse();
   }
 
   @Test