mirror of
https://gitea.com/gitea/tea.git
synced 2026-06-05 18:58:43 +02:00
Move sdk from code.gitea.io/sdk/gitea to gitea.dev/sdk (#1006)
Reviewed-on: https://gitea.com/gitea/tea/pulls/1006 Reviewed-by: Zettat123 <39446+zettat123@noreply.gitea.com>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
package pulls
|
||||
|
||||
import (
|
||||
"context"
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
@@ -44,7 +43,7 @@ func TestReview(t *testing.T) {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
cmd := CmdPullsReview
|
||||
args := append(tt.args, "--repo", "user/repo")
|
||||
err := cmd.Run(context.Background(), args)
|
||||
err := cmd.Run(t.Context(), args)
|
||||
if tt.wantErr {
|
||||
assert.Error(t, err)
|
||||
if tt.errContains != "" {
|
||||
|
||||
Reference in New Issue
Block a user