Implement auth

This commit is contained in:
komissarovyv committed 2024-10-28 20:24:48 +03:00
1 parent 000a5aacdf
commit c32c9d5eba
19 files changed
+349 -176

No files matched your search

+3 -2
View File
@@ -32,14 +32,15 @@ func TestAcceptance(t *testing.T) {
boot.App.Config().Set("rqlite.DataPath", dataPath)
logger := boot.App.Logger()
startup := startup.New(boot)
startup, err := startup.New(boot)
require.NoError(err)
t.Cleanup(func() {
for _, closer := range startup.Closers() {
err := closer.Close()
require.NoError(err)
}
})
err := startup.Run(context.Background())
err = startup.Run(context.Background())
require.NoError(err)
time.Sleep(1 * time.Second)