From 8d662a6a682bab3b1c7a0ab5656e978082cbf4e6 Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Sun, 15 Sep 2024 09:03:02 +0300 Subject: [PATCH] fix: make test run --- e2e/e2e_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index 2bdc469..845ed55 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -106,6 +106,7 @@ func (e *AppTestSuite) initDeps() { e.mailer, cfg.JwtRefreshTokenTTL, cfg.VerficationTokenTTL, + cfg.AppURL, ) noterepo := noterepo.New(e.postgresDB) @@ -177,6 +178,7 @@ func (e *AppTestSuite) setupLogger() { func (e *AppTestSuite) getConfig() *config.Config { return &config.Config{ //nolint:exhaustruct AppEnv: "testing", + AppURL: "", ServerPort: "3000", PasswordSalt: "salty-password", JwtSigningKey: "jwt-key",