fix: logging module
This commit is contained in:
@@ -319,8 +319,6 @@ func TestInfof(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
func TestWarnf(t *testing.T) {
|
||||
logPath := setupLogger(t, WarnLevel)
|
||||
ctx := context.WithValue(context.Background(), userID, "12345")
|
||||
@@ -344,7 +342,6 @@ func TestWarnf(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestErrorf(t *testing.T) {
|
||||
logPath := setupLogger(t, ErrorLevel)
|
||||
ctx := context.WithValue(context.Background(), userID, "12345")
|
||||
@@ -369,7 +366,6 @@ func TestErrorf(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestFatalf(t *testing.T) {
|
||||
logPath := setupLogger(t, FatalLevel)
|
||||
ctx := context.WithValue(context.Background(), userID, "12345")
|
||||
@@ -394,8 +390,6 @@ func TestFatalf(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
func TestPanicf(t *testing.T) {
|
||||
logPath := setupLogger(t, PanicLevel)
|
||||
ctx := context.WithValue(context.Background(), userID, "12345")
|
||||
|
||||
Reference in New Issue
Block a user