fix tests/integration/recipe_upgrade.bats
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
@ -61,14 +61,14 @@ setup(){
|
||||
assert_success
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
assert_output --partial 'behind 3'
|
||||
assert_output --partial "Your branch is behind 'origin/main' by 3 commits"
|
||||
|
||||
run $ABRA recipe upgrade "$TEST_RECIPE" --no-input
|
||||
assert_success
|
||||
assert_output --partial 'can upgrade service: app'
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
|
||||
refute_output --partial 'behind 3'
|
||||
refute_output --partial "Your branch is behind 'origin/main' by 3 commits"
|
||||
|
||||
_reset_recipe
|
||||
}
|
||||
|
Reference in New Issue
Block a user