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

class Selenium_Settings_Folders extends Selenium_Test
{
    public function testFolders()
    {
        $this->go('settings', 'folders');

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

        $objects = $this->get_objects();

        // these objects should be there always
        $this->assertContains('quotadisplay', $objects);
        $this->assertContains('subscriptionlist', $objects);
    }
}