Unit tests for Ansel_Gallery / Ansel_Gallery_Share stuff.
NOTE: These test operate on the globally configured database. While there should be no destructive actions taken against existing data, it does modify the database so you should be sure to have a backup of any important tables before running these tests on production systems.
Located in /lib/tests/GalleryTest.php (line 17)
PHPUnit_Framework_TestCase | --Ansel_TestBase | --Ansel_GalleryTest
Test provider to provide test gallery data for gallery creation.
Tests entire lifecycle of an Ansel_Gallery. Checks for proper creation and Ansel_Gallery_Share being set correctly, checks proper setting of gallery attributes and tags and checks for proper removal of gallery.
Checks that sub-galleries are created with proper heirarchy and that parents are not removeable while they contain children.
Inherited From Ansel_TestBase
Ansel_TestBase::assertOk()
Ansel_TestBase::setUp()
Documentation generated on Sun, 30 Jan 2011 05:08:46 +0000 by phpDocumentor 1.4.3