Adjust to changes in Gerrit core

Change-Id: I5a5044ac1a9a8b6b6f9bfe22fac4f1bd92e41777
diff --git a/src/test/java/com/googlesource/gerrit/plugins/simplesubmitrules/PluginIT.java b/src/test/java/com/googlesource/gerrit/plugins/simplesubmitrules/PluginIT.java
index 91276af..9417030 100644
--- a/src/test/java/com/googlesource/gerrit/plugins/simplesubmitrules/PluginIT.java
+++ b/src/test/java/com/googlesource/gerrit/plugins/simplesubmitrules/PluginIT.java
@@ -143,7 +143,7 @@
     projectCache
         .get(project)
         .get()
-        .getConfig()
+        .getBareConfig()
         .updateLabelType("Code-Review", lt -> lt.setFunction(allProjectsCR.getFunction()));
     assertLabelTypeEquals(localCR, allProjectsCR);
   }