summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-05-24 20:48:23 -0700
committerBharat Mediratta <bharat@menalto.com>2011-05-24 20:49:09 -0700
commit5e6a6d58c2946caf54af9bb4b67f6f9a12d7449f (patch)
tree538c9b75247a512964f1531d0a3e3af452157b2e /modules
parent84c40285276c3d9854a4e61c7f0fa8cf25b6b981 (diff)
Follow on to c101151616033d53587d1435881dae0fa45aeefa -- delete all
tags in setup so that we have a blank slate, otherwise create_tag() will fail because sometimes there'll be other tags in the system. #1628
Diffstat (limited to 'modules')
-rw-r--r--modules/tag/tests/Tag_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tag/tests/Tag_Test.php b/modules/tag/tests/Tag_Test.php
index 9e10fa4a..52fd4fdd 100644
--- a/modules/tag/tests/Tag_Test.php
+++ b/modules/tag/tests/Tag_Test.php
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Tag_Test extends Gallery_Unit_Test_Case {
- public function teardown() {
+ public function setup() {
ORM::factory("tag")->delete_all();
}