database: Use module-scoped data in iface tests.

This updates the interface tests in database/ffldb to reference the
block tests within the same module as opposed to escaping the module to
find it in the blockchain module.

This should have been a part of the previous commit that performs the
same, but was missed.
This commit is contained in:
Dave Collins 2018-08-16 16:17:43 -05:00
parent e7495b5b38
commit 20eda7ec92
No known key found for this signature in database
GPG Key ID: B8904D9D9C93D1F2

View File

@ -37,7 +37,7 @@ var (
// blockDataFile is the path to a file containing the first 168 blocks
// of the simulation network.
blockDataFile = filepath.Join("..", "..", "blockchain", "testdata", "blocks0to168.bz2")
blockDataFile = filepath.Join("..", "testdata", "blocks0to168.bz2")
// errSubTestFail is used to signal that a sub test returned false.
errSubTestFail = fmt.Errorf("sub test failure")