mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
test(repo,release): fold the repo delete report into the --yes test and drop redundant setup
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
3 files changed
+4
-17
No files matched your search
@@ -36,7 +36,6 @@ func TestReleaseViewShowsTheLatestReleaseWithNotesAndAssets(t *testing.T) {
|
||||
}))
|
||||
defer server.Close()
|
||||
deps, out, _ := repoTTYDeps(t, server.URL)
|
||||
deps.Getenv = serverEnv(server.URL, map[string]string{"TERM": "dumb"})
|
||||
rawMarkdown(t, deps)
|
||||
require.NoError(t, Execute(context.Background(), deps, []string{"release", "view", "-R", "alice/project"}))
|
||||
require.Equal(t, `First release v0.1.0
|
||||
|
||||
Reference in new issue
Block a user