Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: test
Browse files Browse the repository at this point in the history
devhaozi authored and hwbrzzl committed Sep 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent dc5d81f commit b578b94
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ APP_KEY=ABCDEFGHIJKLMNOPQRSTUVWXYZ123456
APP_DEBUG=true
APP_URL=http://localhost
APP_HOST=127.0.0.1
APP_PORT=3001
APP_PORT=3000

GRPC_HOST=127.0.0.1
GRPC_PORT=3001
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions tests/controllers/main_test.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,14 @@ import (
"testing"

"github.com/goravel/framework/facades"
"github.com/goravel/framework/support/file"
"github.com/goravel/framework/support/str"
)

func TestMain(m *testing.M) {
m.Run()

file.Remove("storage")
}

func route(path string) string {
3 changes: 3 additions & 0 deletions tests/middlewares/main_test.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,14 @@ import (
"testing"

"github.com/goravel/framework/facades"
"github.com/goravel/framework/support/file"
"github.com/goravel/framework/support/str"
)

func TestMain(m *testing.M) {
m.Run()

file.Remove("storage")
}

func route(path string) string {

0 comments on commit b578b94

Please sign in to comment.