Fix broken unit tests due to data type renaming
This commit is contained in:
parent
ff7aa0ed56
commit
0989b4cab3
2 changed files with 5 additions and 5 deletions
|
@ -3,14 +3,14 @@ module Mock.Blog.URL (
|
||||||
, simple
|
, simple
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Blog.URL (URL(..))
|
import Blog.URL (URLs(..))
|
||||||
|
|
||||||
simple :: URL
|
simple :: URLs
|
||||||
simple = URL {
|
simple = URLs {
|
||||||
cards = Just "https://test.net"
|
cards = Just "https://test.net"
|
||||||
, comments = Nothing
|
, comments = Nothing
|
||||||
, rss = Nothing
|
, rss = Nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
noCards :: URL
|
noCards :: URLs
|
||||||
noCards = simple {cards = Nothing}
|
noCards = simple {cards = Nothing}
|
||||||
|
|
|
@ -2,7 +2,7 @@ module XML.Card.Output (
|
||||||
test
|
test
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Blog (Blog(..), URL(..))
|
import Blog (Blog(..), URLs(..))
|
||||||
import Control.Monad.IO.Class (MonadIO(..))
|
import Control.Monad.IO.Class (MonadIO(..))
|
||||||
import Control.Monad.Reader (asks, runReaderT)
|
import Control.Monad.Reader (asks, runReaderT)
|
||||||
import qualified Data.Text.Lazy.IO as Lazy (readFile)
|
import qualified Data.Text.Lazy.IO as Lazy (readFile)
|
||||||
|
|
Loading…
Reference in a new issue