mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
set some fields visibility as configurable
Some fields can now be hidden through configuration
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user