Skip to content

Commit

Permalink
Refine test to check final price #54
Browse files Browse the repository at this point in the history
  • Loading branch information
Tintinnabulate committed Jul 13, 2020
1 parent 282e918 commit dcf8e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestPostRegistrationHandler(t *testing.T) {
)
}

expected := "checkout-button"
expected := "Amount 20"
if !strings.Contains(rr.Body.String(), expected) {
t.Errorf(
"unexpected body: got (%v) want (%v)",
Expand Down

0 comments on commit dcf8e66

Please sign in to comment.