diff --git a/hls-retrie-plugin.cabal b/hls-retrie-plugin.cabal
--- a/hls-retrie-plugin.cabal
+++ b/hls-retrie-plugin.cabal
@@ -1,6 +1,6 @@
 cabal-version:      2.2
 name:               hls-retrie-plugin
-version:            2.1.0.0
+version:            2.2.0.0
 synopsis:           Retrie integration plugin for Haskell Language Server
 description:
   Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
@@ -28,9 +28,9 @@
     , directory
     , extra
     , ghc
-    , ghcide                == 2.1.0.0
+    , ghcide                == 2.2.0.0
     , hashable
-    , hls-plugin-api        == 2.1.0.0
+    , hls-plugin-api        == 2.2.0.0
     , hls-refactor-plugin
     , lens
     , lsp
@@ -65,5 +65,5 @@
     , hls-plugin-api
     , hls-refactor-plugin
     , hls-retrie-plugin
-    , hls-test-utils             == 2.1.0.0
+    , hls-test-utils             == 2.2.0.0
     , text
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -80,13 +80,10 @@
 
 goldenWithRetrie :: TestName -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree
 goldenWithRetrie title path act =
-    goldenWithHaskellDoc testPlugins title testDataDir path "expected" "hs" $ \doc -> do
-        sendConfigurationChanged $ toJSON $
-            def { plugins = M.fromList [("retrie", def)] }
-        act doc
+    goldenWithHaskellDoc (def { plugins = M.fromList [("retrie", def)] }) testPlugins title testDataDir path "expected" "hs" act
 
 runWithRetrie :: Session a -> IO a
-runWithRetrie = runSessionWithServer testPlugins testDataDir
+runWithRetrie = runSessionWithServer def testPlugins testDataDir
 
 testPlugins :: PluginTestDescriptor Development.IDE.GHC.ExactPrint.Log
 testPlugins =
