You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/tests/Selenium/Mail/CheckRecent.php

15 lines
359 B
PHP

<?php
class Selenium_Mail_CheckRecent extends Selenium_Test
{
public function testCheckRecent()
{
$this->go('mail');
$res = $this->ajaxResponse('check-recent', "rcmail.command('checkmail')");
$this->assertEquals('check-recent', $res['action']);
$this->assertRegExp('/this\.set_unread_count/', $res['exec']);
}
}