diff --git a/tests/Bots/StoreService/BotTests.hs b/tests/Bots/StoreService/BotTests.hs index ce999df3cf..c13dd1139b 100644 --- a/tests/Bots/StoreService/BotTests.hs +++ b/tests/Bots/StoreService/BotTests.hs @@ -63,11 +63,11 @@ import qualified Simplex.Messaging.Crypto as C import Simplex.Messaging.Crypto.BBS (BBSSecretKey, bbsKeyGen) import Simplex.Messaging.Encoding.String (strDecode, strEncode, textEncode) import Simplex.Messaging.Util (safeDecodeUtf8, tshow) -import System.FilePath (()) #if defined(dbPostgres) import Database.PostgreSQL.Simple (Only (..)) #else import Database.SQLite.Simple (Only (..)) +import System.FilePath (()) #endif import Test.Hspec hiding (it) diff --git a/tests/Test.hs b/tests/Test.hs index 75dfd38f11..67122b0c7d 100644 --- a/tests/Test.hs +++ b/tests/Test.hs @@ -31,7 +31,6 @@ import Bots.DirectoryTests import ChatClient import ChatTests import ChatTests.DBUtils -import ChatTests.Names (chatNamesTests) import ChatTests.Utils (xdescribe'') import Control.Logger.Simple import Data.Time.Clock.System @@ -59,6 +58,7 @@ import Simplex.Chat.Store.Postgres.Migrations (migrations) import Simplex.Messaging.Agent.Store.Postgres.Util (createDBAndUserIfNotExists, dropDatabaseAndUser) #else import APIDocs +import ChatTests.Names (chatNamesTests) import qualified Simplex.Messaging.TMap as TM import MobileTests import SchemaDump