mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-18 23:21:55 +01:00
Remove unused test suite
This commit is contained in:
parent
f3ea771929
commit
8a8c067df3
@ -267,55 +267,3 @@ executable stackage-server-cron
|
|||||||
DeriveFoldable
|
DeriveFoldable
|
||||||
DeriveTraversable
|
DeriveTraversable
|
||||||
LambdaCase
|
LambdaCase
|
||||||
|
|
||||||
test-suite test
|
|
||||||
type: exitcode-stdio-1.0
|
|
||||||
main-is: Spec.hs
|
|
||||||
other-modules: TestImport
|
|
||||||
hs-source-dirs: test
|
|
||||||
ghc-options: -Wall
|
|
||||||
|
|
||||||
build-depends: base
|
|
||||||
, stackage-server
|
|
||||||
, yesod-test
|
|
||||||
, yesod-core
|
|
||||||
, yesod
|
|
||||||
, persistent
|
|
||||||
, resourcet
|
|
||||||
, monad-logger
|
|
||||||
, transformers
|
|
||||||
, hspec
|
|
||||||
, classy-prelude-yesod
|
|
||||||
, mtl
|
|
||||||
, mwc-random
|
|
||||||
|
|
||||||
extensions: TemplateHaskell
|
|
||||||
QuasiQuotes
|
|
||||||
OverloadedStrings
|
|
||||||
NoImplicitPrelude
|
|
||||||
CPP
|
|
||||||
MultiParamTypeClasses
|
|
||||||
TypeFamilies
|
|
||||||
GADTs
|
|
||||||
GeneralizedNewtypeDeriving
|
|
||||||
FlexibleContexts
|
|
||||||
EmptyDataDecls
|
|
||||||
NoMonomorphismRestriction
|
|
||||||
DeriveDataTypeable
|
|
||||||
ViewPatterns
|
|
||||||
TypeSynonymInstances
|
|
||||||
FlexibleInstances
|
|
||||||
RankNTypes
|
|
||||||
FunctionalDependencies
|
|
||||||
PatternGuards
|
|
||||||
StandaloneDeriving
|
|
||||||
UndecidableInstances
|
|
||||||
RecordWildCards
|
|
||||||
ScopedTypeVariables
|
|
||||||
BangPatterns
|
|
||||||
TupleSections
|
|
||||||
DeriveGeneric
|
|
||||||
DeriveFunctor
|
|
||||||
DeriveFoldable
|
|
||||||
DeriveTraversable
|
|
||||||
LambdaCase
|
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
module TestImport
|
|
||||||
( module TestImport
|
|
||||||
, module X
|
|
||||||
) where
|
|
||||||
|
|
||||||
import Application (makeFoundation, makeLogWare)
|
|
||||||
import ClassyPrelude as X
|
|
||||||
import Foundation as X
|
|
||||||
import Test.Hspec as X
|
|
||||||
import Yesod.Default.Config2 (ignoreEnv, loadYamlSettings)
|
|
||||||
import Yesod.Test as X
|
|
||||||
|
|
||||||
withApp :: SpecWith (TestApp App) -> Spec
|
|
||||||
withApp = before $ do
|
|
||||||
settings <- loadYamlSettings
|
|
||||||
["config/test-settings.yml", "config/settings.yml"]
|
|
||||||
[]
|
|
||||||
ignoreEnv
|
|
||||||
foundation <- makeFoundation settings
|
|
||||||
logWare <- liftIO $ makeLogWare foundation
|
|
||||||
return (foundation, logWare)
|
|
||||||
Loading…
Reference in New Issue
Block a user