Skip to content

Commit

Permalink
Fix unit cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Jul 30, 2023
1 parent 9f17578 commit 0b80924
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion foundation/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (
App foundation.Application
)

var flagEnv = flag.String("env", ".env", "custom .env path")
var _ = flag.String("env", ".env", "custom .env path")

func init() {
setEnv()
Expand Down
6 changes: 3 additions & 3 deletions foundation/console/stubs.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ func TestDummyTestSuite(t *testing.T) {
}
// SetupTest will run before each test in the suite.
func (s *UserTestSuite) SetupTest() {
func (s *DummyTestSuite) SetupTest() {
}
// TearDownTest will run after each test in the suite.
func (s *UserTestSuite) TearDownTest() {
func (s *DummyTestSuite) TearDownTest() {
}
func (s *UserTestSuite) TestIndex() {
func (s *DummyTestSuite) TestIndex() {
// TODO
}
`
Expand Down
2 changes: 1 addition & 1 deletion support/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const (

var (
Env = EnvRuntime
EnvPath string
EnvPath = ".env"
RelativePath string
RootPath string
)

0 comments on commit 0b80924

Please sign in to comment.