[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
@@ -26,7 +26,7 @@ func TestAppRace(t *testing.T) {
|
||||
*/
|
||||
|
||||
func TestUpdateConfig(t *testing.T) {
|
||||
th := Setup()
|
||||
th := Setup(t)
|
||||
defer th.TearDown()
|
||||
|
||||
prev := *th.App.Config().ServiceSettings.SiteURL
|
||||
@@ -42,7 +42,7 @@ func TestUpdateConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDoAdvancedPermissionsMigration(t *testing.T) {
|
||||
th := Setup()
|
||||
th := Setup(t)
|
||||
defer th.TearDown()
|
||||
|
||||
if mainHelper.SqlSupplier == nil {
|
||||
@@ -421,7 +421,7 @@ func TestDoAdvancedPermissionsMigration(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestDoEmojisPermissionsMigration(t *testing.T) {
|
||||
th := Setup()
|
||||
th := Setup(t)
|
||||
defer th.TearDown()
|
||||
|
||||
if mainHelper.SqlSupplier == nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user