forked from getconversio/go-shopify
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added all properties shopify passes to shop.json
- Loading branch information
1 parent
1b05aff
commit d4d43e9
Showing
2 changed files
with
55 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,13 @@ func TestShopGet(t *testing.T) { | |
{"Name", "Apple Computers", shop.Name}, | ||
{"Email", "[email protected]", shop.Email}, | ||
{"HasStorefront", true, shop.HasStorefront}, | ||
{"Source", "", shop.Source}, | ||
{"GoogleAppsDomain", "", shop.GoogleAppsDomain}, | ||
{"GoogleAppsLoginEnabled", false, shop.GoogleAppsLoginEnabled}, | ||
{"MoneyInEmailsFormat", "${{amount}}", shop.MoneyInEmailsFormat}, | ||
{"MoneyWithCurrencyInEmailsFormat", "${{amount}} USD", shop.MoneyWithCurrencyInEmailsFormat}, | ||
{"EligibleForPayments", true, shop.EligibleForPayments}, | ||
{"RequiresExtraPaymentsAgreement", false, shop.RequiresExtraPaymentsAgreement}, | ||
} | ||
|
||
for _, c := range cases { | ||
|