mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-06 07:54:22 +00:00
Rename app to Lemma
This commit is contained in:
@@ -4,9 +4,9 @@ package context
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"lemma/internal/logging"
|
||||
"lemma/internal/models"
|
||||
"net/http"
|
||||
"novamd/internal/logging"
|
||||
"novamd/internal/models"
|
||||
)
|
||||
|
||||
type contextKey string
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"novamd/internal/context"
|
||||
_ "novamd/internal/testenv"
|
||||
"lemma/internal/context"
|
||||
_ "lemma/internal/testenv"
|
||||
)
|
||||
|
||||
func TestGetRequestContext(t *testing.T) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package context
|
||||
|
||||
import (
|
||||
"lemma/internal/db"
|
||||
"net/http"
|
||||
"novamd/internal/db"
|
||||
|
||||
"github.com/go-chi/chi/v5"
|
||||
)
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"novamd/internal/context"
|
||||
"novamd/internal/models"
|
||||
_ "novamd/internal/testenv"
|
||||
"lemma/internal/context"
|
||||
"lemma/internal/models"
|
||||
_ "lemma/internal/testenv"
|
||||
)
|
||||
|
||||
// MockDB implements the minimal database interface needed for testing
|
||||
|
||||
Reference in New Issue
Block a user