Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Changing the readme.
Browse files Browse the repository at this point in the history
Since now we are replacing parameters.yml with .env file to setup the
configuration, the readme should be updated.
  • Loading branch information
bepitulaz committed Aug 15, 2017
1 parent 745c772 commit 8ffa275
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ git clone [email protected]: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
Expand Down Expand Up @@ -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 __[email protected]__.

Expand Down
4 changes: 2 additions & 2 deletions tests/AppBundle/Controller/DashboardControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', '/');
Expand Down
21 changes: 21 additions & 0 deletions tests/AppBundle/Form/AreaTypeTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
namespace Tests\AppBundle\Form;

use AppBundle\Form\AreaType;
use AppBundle\Entity\Area;
use Symfony\Component\Form\Test\TypeTestCase;

class AreaTypeTest extends TypeTestCase
{
public function testSubmitValidData()
{
$formData = array(
'name' => 'The Valid Area',
'reservoir' => null,
'growingMethod' => 1,
'capacity' => 150,
'measurementUnit' => 2,
'imageFile' => null
);
}
}

0 comments on commit 8ffa275

Please sign in to comment.