[MM-13833] Configured unit tests to log through t.Log (#10272)
* Rerouted the unit test logs through t.Log * resolving merge confilvts * Update testing.go * Update helper_test.go * Added godocs for NewTestingLogger * Added go docs for NewTestingLogger * Resolving conflicts
Этот коммит содержится в:
коммит произвёл
Jesse Hallam
родитель
a6d0b73c0d
Коммит
39ceaa3e86
@@ -15,7 +15,7 @@ import (
|
||||
|
||||
func TestPluginDeadlock(t *testing.T) {
|
||||
t.Run("Single Plugin", func(t *testing.T) {
|
||||
th := Setup().InitBasic()
|
||||
th := Setup(t).InitBasic()
|
||||
defer th.TearDown()
|
||||
|
||||
pluginPostOnActivate := template.Must(template.New("pluginPostOnActivate").Parse(`
|
||||
@@ -103,7 +103,7 @@ func TestPluginDeadlock(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("Multiple Plugins", func(t *testing.T) {
|
||||
th := Setup().InitBasic()
|
||||
th := Setup(t).InitBasic()
|
||||
defer th.TearDown()
|
||||
|
||||
pluginPostOnHasBeenPosted := template.Must(template.New("pluginPostOnHasBeenPosted").Parse(`
|
||||
|
||||
Ссылка в новой задаче
Block a user