mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-02 03:26:06 +01:00
(refs #279)Fix TestCase.
This commit is contained in:
@@ -10,7 +10,7 @@ import twirl.api.Html
|
||||
|
||||
class AvatarImageProviderSpec extends Specification {
|
||||
|
||||
implicit val context = app.Context("", None, "", null)
|
||||
implicit val context = app.Context("", None, null)
|
||||
|
||||
"getAvatarImageHtml" should {
|
||||
"show Gravatar image for no image account if gravatar integration is enabled" in {
|
||||
@@ -80,6 +80,7 @@ class AvatarImageProviderSpec extends Specification {
|
||||
|
||||
private def createSystemSettings(useGravatar: Boolean) =
|
||||
SystemSettings(
|
||||
baseUrl = None,
|
||||
allowAccountRegistration = false,
|
||||
gravatar = useGravatar,
|
||||
notification = false,
|
||||
|
||||
Reference in New Issue
Block a user