diff options
Diffstat (limited to 'server/test')
| -rw-r--r-- | server/test/Thermoprint/ServerSpec.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/Thermoprint/ServerSpec.hs b/server/test/Thermoprint/ServerSpec.hs index 028ba2d..8af210d 100644 --- a/server/test/Thermoprint/ServerSpec.hs +++ b/server/test/Thermoprint/ServerSpec.hs | |||
| @@ -145,7 +145,7 @@ spec = withSetup $ do | |||
| 145 | drafts `shouldReturn` [] | 145 | drafts `shouldReturn` [] |
| 146 | dId <- draftCreate Nothing mempty | 146 | dId <- draftCreate Nothing mempty |
| 147 | draft dId `shouldReturn` (Nothing, mempty) | 147 | draft dId `shouldReturn` (Nothing, mempty) |
| 148 | drafts `shouldReturn` [(dId, mempty)] | 148 | drafts `shouldReturn` [(dId, Nothing :: Maybe DraftTitle)] |
| 149 | p <- generate arbitrary | 149 | p <- generate arbitrary |
| 150 | draftReplace dId (Just "Title") p | 150 | draftReplace dId (Just "Title") p |
| 151 | draft dId `shouldReturn` (Just "Title", p) | 151 | draft dId `shouldReturn` (Just "Title", p) |
| @@ -154,6 +154,6 @@ spec = withSetup $ do | |||
| 154 | draftDelete dId | 154 | draftDelete dId |
| 155 | drafts `shouldReturn` [] | 155 | drafts `shouldReturn` [] |
| 156 | where | 156 | where |
| 157 | Client{..} = mkClient' $ BaseUrl Http "localhost" 3000 | 157 | Client{..} = mkClient' $ BaseUrl Http "localhost" 3000 "" |
| 158 | 158 | ||
| 159 | 159 | ||
