mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 12:20:03 +08:00
test: added issue number to regression test
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
@ -33,14 +33,14 @@ test_expect_success "metrics work" '
|
||||
test_fsh cat pro_data
|
||||
'
|
||||
|
||||
test_expect_success "pin add api looks right" '
|
||||
test_expect_success "pin add api looks right - #3753" '
|
||||
HASH=$(echo "foo" | ipfs add -q) &&
|
||||
curl "http://$API_ADDR/api/v0/pin/add/$HASH" > pinadd_out &&
|
||||
echo "{\"Pins\":[\"QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6\"]}" > pinadd_exp &&
|
||||
test_cmp pinadd_out pinadd_exp
|
||||
'
|
||||
|
||||
test_expect_success "pin add api looks right" '
|
||||
test_expect_success "pin add api looks right - #3753" '
|
||||
curl "http://$API_ADDR/api/v0/pin/rm/$HASH" > pinrm_out &&
|
||||
echo "{\"Pins\":[\"QmYNmQKp6SuaVrpgWRsPTgCQCnpxUYGq76YEKBXuj2N4H6\"]}" > pinrm_exp &&
|
||||
test_cmp pinrm_out pinrm_exp
|
||||
|
Reference in New Issue
Block a user