Add Forge Metadata (#1789)

close  #1787
This commit is contained in:
6543
2023-05-31 18:30:41 +02:00
committed by GitHub
parent a1943aa49e
commit 524611cf00
16 changed files with 149 additions and 55 deletions

View File

@@ -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")