mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-25 01:16:21 +02:00
updated base_test error messages
This commit is contained in:
parent
5f6b7f6cc0
commit
9ae8536515
@ -27,15 +27,15 @@ func TestNewMultiDB(t *testing.T) {
|
|||||||
dao := daos.NewMultiDB(testApp.Dao().ConcurrentDB(), testApp.Dao().NonconcurrentDB())
|
dao := daos.NewMultiDB(testApp.Dao().ConcurrentDB(), testApp.Dao().NonconcurrentDB())
|
||||||
|
|
||||||
if dao.DB() != testApp.Dao().ConcurrentDB() {
|
if dao.DB() != testApp.Dao().ConcurrentDB() {
|
||||||
t.Fatal("[db-asyncdb] The 2 db instances are different")
|
t.Fatal("[db-concurrentDB] The 2 db instances are different")
|
||||||
}
|
}
|
||||||
|
|
||||||
if dao.ConcurrentDB() != testApp.Dao().ConcurrentDB() {
|
if dao.ConcurrentDB() != testApp.Dao().ConcurrentDB() {
|
||||||
t.Fatal("[asyncdb-asyncdb] The 2 db instances are different")
|
t.Fatal("[concurrentDB-concurrentDB] The 2 db instances are different")
|
||||||
}
|
}
|
||||||
|
|
||||||
if dao.NonconcurrentDB() != testApp.Dao().NonconcurrentDB() {
|
if dao.NonconcurrentDB() != testApp.Dao().NonconcurrentDB() {
|
||||||
t.Fatal("[syncdb-syncdb] The 2 db instances are different")
|
t.Fatal("[nonconcurrentDB-nonconcurrentDB] The 2 db instances are different")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user