mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
@@ -51,7 +51,7 @@ func Test_github(t *testing.T) {
|
||||
Secret: "I1NiIsInR5",
|
||||
SkipVerify: true,
|
||||
})
|
||||
g.Assert(forge.(*client).URL).Equal("http://localhost:8080")
|
||||
g.Assert(forge.(*client).url).Equal("http://localhost:8080")
|
||||
g.Assert(forge.(*client).API).Equal("http://localhost:8080/api/v3/")
|
||||
g.Assert(forge.(*client).Client).Equal("0ZXh0IjoiI")
|
||||
g.Assert(forge.(*client).Secret).Equal("I1NiIsInR5")
|
||||
|
||||
Reference in New Issue
Block a user