Skip to content

Commit

Permalink
Fix test again
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-k committed Nov 11, 2023
1 parent cfdace7 commit 9931eab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mig/test/Test/Server/Counter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Data.IORef
import Data.Maybe
import Data.Text qualified as Text
import Mig.Core
import Mig.Core qualified as Request (Request (..))
import Network.HTTP.Types.Method (methodPost)
import Test.Hspec
import Test.Server.Common
Expand Down Expand Up @@ -82,8 +83,8 @@ script f inputs = do
putReq increment =
emptyReq
{ method = methodPost
, path = ["counter", "put", Text.pack (show increment)]
, Request.path = ["counter", "put", Text.pack (show increment)]
}

getReq :: Request
getReq = emptyReq{path = ["counter", "get"]}
getReq = emptyReq{Request.path = ["counter", "get"]}

0 comments on commit 9931eab

Please sign in to comment.