You are here

public function testViewsNivoSliderFormsTestCase::testViewsNivoSliderForms in Views Nivo Slider 7.3

File

tests/vns.test, line 36
SimpleTest tests for views_nivo_slider.module.

Class

testViewsNivoSliderFormsTestCase

Code

public function testViewsNivoSliderForms() {
  $edit = array();
  $this
    ->drupalPost('/admin/structure/views/nojs/display/nivo_test/page/style_plugin', $edit, t('Apply'));
  $this
    ->assertRaw('Views', 'Views Nivo Slider');
  $this
    ->drupalPost('/admin/structure/views/nojs/display/nivo_test/page/style_options', $edit, t('Apply'));
  $this
    ->assertRaw('Views', 'Views Nivo Slider');
  $this
    ->drupalPost('/admin/structure/views/nojs/display/nivo_test/page/row_plugin', $edit, t('Apply'));
  $this
    ->assertRaw('Views', 'Views Nivo Slider');
  $this
    ->drupalPost('/admin/structure/views/nojs/display/nivo_test/page/row_options', $edit, t('Apply'));
  $this
    ->assertRaw('Views', 'Views Nivo Slider');
}