autogits/workflow-pr/pr_test.go
2024-12-09 00:39:55 +01:00

21 lines
441 B
Go

package main
import (
"testing"
/*
"go.uber.org/mock/gomock"
"src.opensuse.org/autogits/common/gitea-generated/models"
mock_main "src.opensuse.org/workflow-pr/mock"
*/
)
func TestPR(t *testing.T) {
t.Run("Test simple PR to PrjGit checkout", func(t *testing.T) {
// ctl := gomock.NewController(t)
// pr := mock_main.NewMockGiteaPRInterface(ctl)
// pr.EXPECT().GetPR("foo", "bar", 22).Return(&models.PullRequest{}, nil)
})
}