This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since now we are replacing parameters.yml with .env file to setup the configuration, the readme should be updated.
- Loading branch information
Showing
3 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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]__. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
); | ||
} | ||
} |