Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

how does the dev/ecommerce page work?


Go to End


2 Posts   1037 Views

Avatar
wildflower1975

Community Member, 63 Posts

28 July 2011 at 4:01pm

Edited: 28/07/2011 4:10pm

I've found the EcommerceDatabaseAdmin.ss page that is the content of the page, I guess my question is more how does the
<code>
<% control Tests %>
</code>

work because it's only showing the Shopping Cart test on my test site, but there are quite a few Test.php files in the ecommerce/tests directory.

If I look at the dev/tests dir I can see them all though.

I guess there's a method called Tests somewhere in sapphire that might not be working correctly?

I've found sapphire/dev/DevelopmentAdmin.php with a
@todo documentation for how to add new unit tests and tasks

Avatar
Jedateach

Forum Moderator, 238 Posts

1 August 2011 at 2:32pm

The tests listed just come from a hard-coded array at the moment. The list is based on tests that actually work.

I think it'll be a good idea to remove the non-working ones.

Also note that the payment test(s) usually fail, so you end up needing to specify which tests to skip.