From 092e832d21518c9c9697132f8dea1d6a02e33128 Mon Sep 17 00:00:00 2001 From: nazoking Date: Mon, 16 Jan 2017 02:06:39 +0900 Subject: [PATCH] Prevents security warning dialog from being displayed during testing. --- src/test/scala/gitbucket/core/GitBucketCoreModuleSpec.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/scala/gitbucket/core/GitBucketCoreModuleSpec.scala b/src/test/scala/gitbucket/core/GitBucketCoreModuleSpec.scala index 1a150b41a..8f2d7c70c 100644 --- a/src/test/scala/gitbucket/core/GitBucketCoreModuleSpec.scala +++ b/src/test/scala/gitbucket/core/GitBucketCoreModuleSpec.scala @@ -34,6 +34,7 @@ class GitBucketCoreModuleSpec extends FunSuite { .withUser("sa", "sa") .withCharset(Charset.UTF8) .withServerVariable("log_syslog", 0) + .withServerVariable("bind-address", "127.0.0.1") .build() val mysqld = anEmbeddedMysql(config)