Commit Graph
6 Commits
Author SHA1 Message Date
Bharat Mediratta e173f36bcb Create some basic infrastructure:
* item model (contains basic item info, similar to the gx version)
  * module model (has info about each module and which version of it is installed)
  * added a very basic unit test to verify that we can create an instance of item
  * Updated our test controller to require a unit_test db config and
    call core::install if it hasn't been done already.

New pattern:
  * core/helpers/core_installer.php creates core_installer helper.
    When we install a new module you call xxx_installer::install(),
    and when you want it to go away, you do xxx_installer::uninstall()

Create
2008-11-02 23:55:09 +00:00
Bharat Mediratta 2f151cf39f Ignore view files in no_trailing_closing_php_tag_test since they will occasionally
end in tags like <?= this ?>
2008-11-02 21:56:14 +00:00
Bharat Mediratta 06174a4f74 Add a test to verify that we have the right preamble on files. 2008-11-01 22:42:59 +00:00
Bharat Mediratta 6f98bd445a Clean up tests a bit. 2008-11-01 22:05:08 +00:00
Bharat Mediratta a7f22994ed Add a new test to verify that view files end in .html.php 2008-11-01 18:45:25 +00:00
Bharat Mediratta 60fbea6fd0 Add first test; this verifies that we leave the ?> off at the end of PHP files. 2008-11-01 10:47:00 +00:00