Line-width change to servant auth tests
This commit is contained in:
parent
0eb19f73d5
commit
563719f11e
1 changed files with 5 additions and 3 deletions
|
@ -56,10 +56,12 @@ import Test.Hspec.Wai (get, liftIO, matchHeaders,
|
||||||
matchStatus, request,
|
matchStatus, request,
|
||||||
shouldRespondWith, with, (<:>))
|
shouldRespondWith, with, (<:>))
|
||||||
|
|
||||||
import Servant.API.Auth (BasicAuthData(BasicAuthData))
|
import Servant.API.Auth (BasicAuthData(BasicAuthData))
|
||||||
import Servant.Server.Internal.Auth
|
import Servant.Server.Internal.Auth
|
||||||
(AuthHandler, AuthReturnType, BasicAuthCheck (BasicAuthCheck),
|
(AuthHandler, AuthReturnType,
|
||||||
BasicAuthResult (Authorized, Unauthorized), mkAuthHandler)
|
BasicAuthCheck (BasicAuthCheck),
|
||||||
|
BasicAuthResult (Authorized, Unauthorized),
|
||||||
|
mkAuthHandler)
|
||||||
import Servant.Server.Internal.RoutingApplication
|
import Servant.Server.Internal.RoutingApplication
|
||||||
(toApplication, RouteResult(..))
|
(toApplication, RouteResult(..))
|
||||||
import Servant.Server.Internal.Router
|
import Servant.Server.Internal.Router
|
||||||
|
|
Loading…
Reference in a new issue