diff options
author | zeripath <art27@cantab.net> | 2020-11-08 21:24:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-08 16:24:54 -0500 |
commit | 271ab63dfa7d4f54fb8fbfd59906546112ef01fc (patch) | |
tree | 6e11ecc5eeb3ef700bacf9705c38ce6487fd0b38 /integrations/repo_commits_search_test.go | |
parent | 8a7101fdd39777fe153b232356c0f26750241d4a (diff) | |
download | gitea-271ab63dfa7d4f54fb8fbfd59906546112ef01fc.tar.gz gitea-271ab63dfa7d4f54fb8fbfd59906546112ef01fc.zip |
Make TestCreateBranch and TestRepoCommitsSearch less noisy (#13471)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'integrations/repo_commits_search_test.go')
-rw-r--r-- | integrations/repo_commits_search_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/integrations/repo_commits_search_test.go b/integrations/repo_commits_search_test.go index 3cd548e810..0dc0588297 100644 --- a/integrations/repo_commits_search_test.go +++ b/integrations/repo_commits_search_test.go @@ -14,8 +14,6 @@ import ( ) func testRepoCommitsSearch(t *testing.T, query, commit string) { - defer prepareTestEnv(t)() - session := loginUser(t, "user2") // Request repository commits page @@ -28,6 +26,7 @@ func testRepoCommitsSearch(t *testing.T, query, commit string) { } func TestRepoCommitsSearch(t *testing.T) { + defer prepareTestEnv(t)() testRepoCommitsSearch(t, "e8eabd", "") testRepoCommitsSearch(t, "38a9cb", "") testRepoCommitsSearch(t, "6e8e", "6e8eabd9a7") |