Test message logging
This commit is contained in:
parent
d023f63a7c
commit
1def24500a
5 changed files with 105 additions and 42 deletions
|
@ -22,7 +22,10 @@ func TestMain(m *testing.M) {
|
|||
|
||||
storage.Initialize(tempdir)
|
||||
storage.Open()
|
||||
user = storage.NewUser()
|
||||
user, err = storage.NewUser()
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
channelStore = storage.NewChannelStore()
|
||||
|
||||
code := m.Run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue