summaryrefslogtreecommitdiff
path: root/tests/Selenium/Settings/Settings.php
blob: 08d8339f185ffba753a8f5b02fd4eafb737fd022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

class Selenium_Settings_Settings extends Selenium_Test
{
    public function testSettings()
    {
        $this->go('settings');

        // task should be set to 'settings'
        $env = $this->get_env();
        $this->assertEquals('settings', $env['task']);

        $objects = $this->get_objects();

        $this->assertContains('sectionslist', $objects);
    }
}