Forgejo v1.21 is EOL, v9.0 is dev
This commit is contained in:
parent
47a6f7ee78
commit
50c5908a91
4 changed files with 3 additions and 7 deletions
|
@ -150,8 +150,6 @@ function fixture_avatars_assert_local() {
|
|||
function fixture_repo_avatars_create() {
|
||||
echo -n $ONEPIXEL | base64 --decode >$DIR/repo-avatar.png
|
||||
forgejo-curl.sh web --form avatar=@$DIR/repo-avatar.png http://${HOST_PORT}/${FORGEJO_USER}/${FORGEJO_REPO}/settings/avatar
|
||||
# v1.21 only
|
||||
#forgejo-curl.sh api_json -X POST --data-raw '{"body":"'$avatar'"}' http://${HOST_PORT}/api/v1/repos/${FORGEJO_USER}/${FORGEJO_REPO}/avatar
|
||||
}
|
||||
|
||||
function fixture_repo_avatars_assert_s3() {
|
||||
|
|
Loading…
Add table
Reference in a new issue