Compare commits
1 Commits
5b07145f47
...
3120c19669
| Author | SHA1 | Date | |
|---|---|---|---|
|
3120c19669
|
6
dev.sh
6
dev.sh
@@ -1,3 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
|
||||
go install github.com/a-h/templ/cmd/templ@latest
|
||||
go install github.com/vektra/mockery/v2@latest
|
||||
|
||||
templ generate --watch --proxy="http://localhost:8080" --cmd="go run ." &
|
||||
npm run watch
|
||||
|
||||
|
||||
@@ -756,7 +756,7 @@ func TestIntegrationAuth(t *testing.T) {
|
||||
VALUES (?, ?, datetime(), datetime("now", "+1 day"))`, sessionId, userId)
|
||||
require.NoError(t, err)
|
||||
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodGet, basePath+"/", nil)
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodGet, basePath+"/dashboard", nil)
|
||||
require.NoError(t, err)
|
||||
req.Header.Set("Cookie", "id="+sessionId)
|
||||
resp, err := httpClient.Do(req)
|
||||
|
||||
Reference in New Issue
Block a user