Skip to content

Commit

Permalink
tests: Fix paths in Cardano.Wallet.Api.TypesSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
rvl committed Dec 2, 2019
1 parent ad39363 commit 0498ef0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/core/test/unit/Cardano/Wallet/Api/TypesSpec.hs
Expand Up @@ -236,6 +236,8 @@ import Test.QuickCheck.Arbitrary.Generic
( genericArbitrary, genericShrink )
import Test.Text.Roundtrip
( textRoundtrip )
import Test.Utils.Paths
( getTestData )
import Test.Utils.Time
( genUniformTime )
import Web.HttpApiData
Expand Down Expand Up @@ -788,8 +790,7 @@ jsonRoundtripAndGolden proxy = do
settings :: Settings
settings = defaultSettings
{ goldenDirectoryOption =
CustomDirectoryName $ foldr (</>) mempty
[ "test", "data", "Cardano", "Wallet", "Api" ]
CustomDirectoryName ($(getTestData) </> "Cardano" </> "Wallet" </> "Api")
, useModuleNameAsSubDirectory =
False
, sampleSize = 10
Expand Down

0 comments on commit 0498ef0

Please sign in to comment.