CC-5651: Unit Test the Scheduler

* Added runtests.sh script for unit tests
* Use the airtime_test database config in Config.php, propel
* First unit test passes! :-)
This commit is contained in:
Albert Santoni 2013-12-19 16:58:11 -05:00 committed by drigato
parent 72da8be2f2
commit fe9beec778
5 changed files with 21 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#Note: project.home is automatically generated by the propel-install script.
#Any manual changes to this value will be overwritten.
project.home = /home/denise/airtime/airtime_mvc
project.home = /home/asantoni/airtime/airtime_mvc
project.build = ${project.home}/build
#Database driver

View file

@ -8,6 +8,12 @@
<dsn>pgsql:host=localhost;port=5432;dbname=airtime;user=airtime;password=airtime</dsn>
</connection>
</datasource>
<datasource id="airtime_test">
<adapter>pgsql</adapter> <!-- sqlite, mysql, myssql, oracle, or pgsql -->
<connection>
<dsn>pgsql:host=localhost;port=5432;dbname=airtime_test;user=airtime;password=airtime</dsn>
</connection>
</datasource>
</datasources>
</propel>
</config>