🥗 Marketplace
: The Square
Test is failings on Dependabot
PRs
#2095
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Marketplace
:Seller
receivesOrder
in theirSquare
Point of Sale #1500Marketplace
: End-to-end testSeller
receivesOrder in
Square` Point of Sale #2034Tests seem to be broken when on PRs that come in from Dependabot.
I'm not quite sure what the reason is; and didn't want to tinker too much since @rosschapman and @anaulin know more about how this works.
My current theory is we need to update the
Dependabot
Secrets with the Square credentials and Locations that they set up last Wednesday.I think we used the [email protected] account, but the phone number for that is not tied to the Google Voice number for [email protected]; so I wasn't able to log in.
I did log in as [email protected]; and there are credentials there but I am not brainy enough to figure out if that's the right account or not.
Anyway, to unbreak the tests for Dependabot rolling again; I am ditching the
with_square
trait in themarketplace
in thebuying_products_spec.rb
. We'll probably want to write amarketplace/order_notifications/with_square_spec.rb
that tests that use case more explicitely, including assertions against the Square API that confirm we get the data in the PoS right.