set some fields visibility as configurable

Some fields can now be hidden through configuration
This commit is contained in:
2016-02-05 23:05:53 +01:00
parent d70be5ea85
commit d419be2af1
13 changed files with 551 additions and 48 deletions

View File

@@ -61,6 +61,8 @@ class PersonControllerViewTest extends WebTestCase
/**
* Test if the view page is accessible
*
* @group configurable_fields
*/
public function testViewPerson()
{
@@ -76,6 +78,10 @@ class PersonControllerViewTest extends WebTestCase
$this->assertGreaterThan(0, $crawler->filter('html:contains("Tested Person")')->count());
$this->assertGreaterThan(0, $crawler->filter('html:contains("Réginald")')->count());
$this->assertContains('Email addresses', $crawler->text());
$this->assertContains('Phonenumber', $crawler->text());
$this->assertContains('Langues parlées', $crawler->text());
$this->assertContains(/* Etat */ 'civil', $crawler->text());
}
/**