diff --git a/README.md b/README.md index e212c44..996a4a9 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,9 @@ git clone git@github.com:Tanibox/tania.git cd tania ``` -Second, setup your database and mailer parameters in `app/config/parameters.yml`. You can duplicate and rename the `app/config/parameters.yml.dist` file. +Second, setup your database and mailer parameters in `/.env`. You can duplicate and rename the `/.env-example` file. -Third, don't forget to go back to the application root directory before following these steps to setup the web application: +Third, setup the web application: ``` curl -sS https://getcomposer.org/installer | php @@ -66,7 +66,6 @@ Current maintainers: - Retno Ika Safitri - [Linkedin](https://www.linkedin.com/in/retnoika/) - M. Surya Iksanudin - [Linkedin](https://www.linkedin.com/in/ihsanuddin/) - Didiet Noor - [Linkedin](https://www.linkedin.com/in/didiet/) -- Aftri Marriska - [Linkedin](https://www.linkedin.com/in/aftrimarriska/) If you are interested in being a core contributor to this project, please drop me an email at __asep@tanibox.com__. diff --git a/tests/AppBundle/Controller/DashboardControllerTest.php b/tests/AppBundle/Controller/DashboardControllerTest.php index 84fc6f5..d752322 100644 --- a/tests/AppBundle/Controller/DashboardControllerTest.php +++ b/tests/AppBundle/Controller/DashboardControllerTest.php @@ -9,8 +9,8 @@ class DashboardControllerTest extends WebTestCase public function testIndex() { $client = static::createClient(array(), array( - 'PHP_AUTH_USER' => 'test', - 'PHP_AUTH_PW' => 'test' + 'PHP_AUTH_USER' => 'asep', + 'PHP_AUTH_PW' => 'l3tm31n' )); $crawler = $client->request('GET', '/'); diff --git a/tests/AppBundle/Form/AreaTypeTest.php b/tests/AppBundle/Form/AreaTypeTest.php new file mode 100644 index 0000000..673ca95 --- /dev/null +++ b/tests/AppBundle/Form/AreaTypeTest.php @@ -0,0 +1,21 @@ + 'The Valid Area', + 'reservoir' => null, + 'growingMethod' => 1, + 'capacity' => 150, + 'measurementUnit' => 2, + 'imageFile' => null + ); + } +} \ No newline at end of file