Skip to content
Snippets Groups Projects
Commit cc6a1756 authored by llaffont's avatar llaffont
Browse files

Commit par erreur, revert

parent 55ea9fb7
Branches
Tags 7.10.4
No related merge requests found
......@@ -114,20 +114,14 @@ class AbonneControllerEditWithContactMailSmsTest extends AbonneControllerEditAct
/** @test */
public function radioButtonIsContactSmsShouldBeChecked() {
$this->assertXPath('//input[@type="radio"][@name="mode_contact"][@value="is_contact_sms"][@checked="checked"]');
public function checkboxIsContactSmsShouldBeChecked() {
$this->assertXPath('//input[@type="checkbox"][@name="is_contact_sms"][@checked="checked"]');
}
/** @test */
public function radioButtonIsContactMailShouldNotBeChecked() {
$this->assertXPath('//input[@type="radio"][@name="mode_contact"][@value="is_contact_mail"][not(@checked)]');
}
/** @test */
public function radioButtonIsContactLetterShouldNotBeChecked() {
$this->assertXPath('//input[@type="radio"][@name="mode_contact"][@value="is_contact_letter"][not(@checked)]');
public function checkboxIsContactMailShouldNotBeChecked() {
$this->assertXPath('//input[@type="checkbox"][@name="is_contact_mail"][not(@checked)]');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment