[gallery/gallery3] 37a5b0: Largely fix these tests. Stop using a mock, we co...
GitHub <noreply-9UaJU3cA/F/[email protected]> Tue, 07 May 2013 19:12:25 -0700
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <5189b489698cd_716e102ddd81436f1@hookshot-fe2-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: 37a5b0b37811ad6f66046795a1dd6c1f8a7133f1
https://github.com/gallery/gallery3/commit/37a5b0b37811ad6f66046795a1dd6c1f8a7133f1
Author: Bharat Mediratta <[email protected]>
Date: 2013-05-07 (Tue, 07 May 2013)
Changed paths:
M modules/gallery/tests/Database_Test.php
Log Message:
-----------
Largely fix these tests. Stop using a mock, we control the database
configuration and we're calling compile() which is fast enough so it's
useful to test the full API here and not reach into testing the
database innards.
The one exception is testing the prefix replacement, which is a new
API that exists only in Gallery_Database and classes that inherit from
it. But we expect that we'll always be using a Gallery_Database so
it's fair to test that API here as if it were part of the regular
Database API.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]