1 installer.test | public InstallerBrowserAdministrationTestCase::testProjectBrowserAddRemoveQueue() |
File
- core/
modules/ installer/ tests/ installer.test, line 73
Class
- InstallerBrowserAdministrationTestCase
- Administration tests for Project Browser.
Code
public function testProjectBrowserAddRemoveQueue() {
// Refresh the page
$this->backdropGet('admin/modules/install');
// Simulate adding a project to the install queue.
$this->backdropGet('admin/installer/queue/nojs/add/ddd_installer_test', array('query' => array('destination' => 'admin/modules/install')));
$this->assertNoText(t('Installation queue is empty.'));
$this->assertNoText(t('Error: The project was not found.'));
// Simulate removing a project from the install queue.
$this->backdropGet('admin/installer/queue/nojs/remove/ddd_installer_test', array('query' => array('destination' => 'admin/modules/install')));
$this->assertText(t('Installation queue is empty.'));
$this->assertNoText(t('Error: The project was not found.'));
}