Skip to content

Commit

Permalink
Removed custom event store setting post test. #393.
Browse files Browse the repository at this point in the history
  • Loading branch information
vhadianto committed Jun 3, 2024
1 parent 8b9109d commit 5379b9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/es/estest/default_mod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ func (suite *DefaultModTestSuite) TestEchoOneCustomEventStoreLocation() {
// now delete the event store file
err = os.Remove("./event-store-test-dir/test-echo.db")
assert.Nil(err)

// removed the default value
viper.SetDefault(constants.ArgEventStore, "")
}

func (suite *DefaultModTestSuite) TestBasicAuth() {
Expand Down
4 changes: 4 additions & 0 deletions internal/es/estest/event-store-test-dir/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

0 comments on commit 5379b9e

Please sign in to comment.