Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saqueib committed Apr 7, 2020
1 parent 1994f3d commit 4ae87c6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/SettingUITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ public function it_can_change_the_classes_for_section_and_input_by_config()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('class="c-card')
->assertSee('class="c-card-header')
->assertSee('class="c-card-body');
->assertSee('class="c-card', false)
->assertSee('class="c-card-header', false)
->assertSee('class="c-card-body', false);
}

/**
Expand Down Expand Up @@ -97,7 +97,7 @@ public function it_shows_inputs_defined_in_section()
->assertSee('From Email')
->assertSee('From Email of app')
->assertSee('You can from email of app')
->assertSee('type="text"');
->assertSee('type="text"', false);
}

/**
Expand All @@ -123,7 +123,7 @@ public function it_shows_defined_email_type_input()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('type="email"');
->assertSee('type="email"', false);
}

/**
Expand All @@ -146,7 +146,7 @@ public function it_shows_number_type_input()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('type="number"');
->assertSee('type="number"', false);
}

/**
Expand Down Expand Up @@ -274,7 +274,7 @@ public function it_shows_a_boolean_input_which_can_be_a_select_or_radio_input()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('type="radio"')
->assertSee('type="radio"', false)
->assertSee('Maintenance');


Expand Down Expand Up @@ -323,7 +323,7 @@ public function it_shows_file_input_type_on_image()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('type="file"');
->assertSee('type="file"', false);
}

/**
Expand All @@ -347,7 +347,7 @@ public function it_shows_file_input_on_type_of_file()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('type="file"');
->assertSee('type="file"', false);
}

/**
Expand All @@ -363,7 +363,7 @@ public function it_overrides_input_group_class()
// assert
$this->get('/settings')
->assertStatus(200)
->assertSee('class="new-input-wrapper')
->assertSee('class="new-input-wrapper', false)
->assertDontSee('class="input-group');
}

Expand Down

0 comments on commit 4ae87c6

Please sign in to comment.