fix: issues
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestDBChannel_SaveMessage(t *testing.T) {
|
func TestDBChannel_SaveMessage(t *testing.T) {
|
||||||
dsn := "postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource?sslmode=disable"
|
dsn := "postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource_test?sslmode=disable"
|
||||||
if err := InitDB(dsn); err != nil {
|
if err := InitDB(dsn); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
@@ -53,7 +53,7 @@ func TestDBChannel_SaveMessage(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_Join(t *testing.T) {
|
func Test_Join(t *testing.T) {
|
||||||
dsn := "postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource?sslmode=disable"
|
dsn := "postgresql://postgres:xixi0202@10.1.1.3:5432/telegram_resource_test?sslmode=disable"
|
||||||
if err := InitDB(dsn); err != nil {
|
if err := InitDB(dsn); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user