diff --git a/hls-rename-plugin.cabal b/hls-rename-plugin.cabal
--- a/hls-rename-plugin.cabal
+++ b/hls-rename-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.4
 name:               hls-rename-plugin
-version:            2.1.0.0
+version:            2.2.0.0
 synopsis:           Rename plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -29,11 +29,11 @@
     , extra
     , ghc
     , ghc-exactprint
-    , ghcide                == 2.1.0.0
+    , ghcide                == 2.2.0.0
     , hashable
     , hiedb
     , hie-compat
-    , hls-plugin-api        == 2.1.0.0
+    , hls-plugin-api        == 2.2.0.0
     , hls-refactor-plugin
     , lens
     , lsp
@@ -60,4 +60,4 @@
     , filepath
     , hls-plugin-api
     , hls-rename-plugin
-    , hls-test-utils             == 2.1.0.0
+    , hls-test-utils             == 2.2.0.0
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -69,11 +69,7 @@
 
 goldenWithRename :: TestName-> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree
 goldenWithRename title path act =
-    goldenWithHaskellDoc renamePlugin title testDataDir path "expected" "hs" $ \doc -> do
-        sendConfigurationChanged $ toJSON $
-            def { plugins = M.fromList [("rename", def { plcConfig = "crossModule" .= True })] }
-        act doc
-
+    goldenWithHaskellDoc (def { plugins = M.fromList [("rename", def { plcConfig = "crossModule" .= True })] }) renamePlugin title testDataDir path "expected" "hs" act
 
 testDataDir :: FilePath
 testDataDir = "test" </> "testdata"
