Remove unused test suite

This commit is contained in:
Michael Snoyman 2017-12-11 18:41:27 +02:00
parent f3ea771929
commit 8a8c067df3
No known key found for this signature in database
GPG Key ID: A048E8C057E86876
3 changed files with 0 additions and 74 deletions

View File

@ -267,55 +267,3 @@ executable stackage-server-cron
DeriveFoldable
DeriveTraversable
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

View File

@ -1 +0,0 @@
{-# OPTIONS_GHC -F -pgmF hspec-discover #-}

View File

@ -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)