diff options
Diffstat (limited to 'models/repo_test.go')
-rw-r--r-- | models/repo_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/models/repo_test.go b/models/repo_test.go index c1eb4e2a79..34eaa16c0b 100644 --- a/models/repo_test.go +++ b/models/repo_test.go @@ -8,7 +8,7 @@ import ( "path" "testing" - "code.gitea.io/gitea/modules/markdown" + "code.gitea.io/gitea/modules/markup" "code.gitea.io/gitea/modules/setting" "github.com/Unknwon/com" @@ -39,13 +39,13 @@ func TestRepo(t *testing.T) { assert.Equal(t, "https://someurl.com/{user}/{repo}/{issue}", metas["format"]) } - testSuccess(markdown.IssueNameStyleNumeric) + testSuccess(markup.IssueNameStyleNumeric) - externalTracker.ExternalTrackerConfig().ExternalTrackerStyle = markdown.IssueNameStyleAlphanumeric - testSuccess(markdown.IssueNameStyleAlphanumeric) + externalTracker.ExternalTrackerConfig().ExternalTrackerStyle = markup.IssueNameStyleAlphanumeric + testSuccess(markup.IssueNameStyleAlphanumeric) - externalTracker.ExternalTrackerConfig().ExternalTrackerStyle = markdown.IssueNameStyleNumeric - testSuccess(markdown.IssueNameStyleNumeric) + externalTracker.ExternalTrackerConfig().ExternalTrackerStyle = markup.IssueNameStyleNumeric + testSuccess(markup.IssueNameStyleNumeric) } func TestGetRepositoryCount(t *testing.T) { |