WordPoints / wordpoints

Points plugin for WordPress
GNU General Public License v2.0
20 stars 15 forks source link

Split any unit tests with is_multisite() or is_wordpoints_network_active() in them #57

Closed JDGrimes closed 10 years ago

JDGrimes commented 10 years ago

There are some tests that change behavior based on whether they are being run with multisite enabled, or the plugin is network active. Some of them are marked incomplete when the condition isn't met, others aren't. Ideally, all of these tests should be split into two separate tests, which can mark themselves as skipped when the conditions aren't met.

JDGrimes commented 10 years ago

After looking at this, it actually isn't as bad in our tests as I thought.