Commit 6969f417 authored by tim.plunkett's avatar tim.plunkett
Browse files

Issue #1757302 by tim.plunkett: Fix tests that were broken but hidden by the...

Issue #1757302 by tim.plunkett: Fix tests that were broken but hidden by the caught exception in Sql::execute().
parent b71681ba
......@@ -7,14 +7,15 @@
namespace Drupal\views\Tests\Handler;
use Drupal\views\Tests\ViewsSqlTest;
use Drupal\views\Tests\ViewsSchemaTestBase;
/**
* Tests the text area handler.
*
* @see views_handler_area_text
*/
class AreaTextTest extends ViewsSqlTest {
class AreaTextTest extends ViewsSchemaTestBase {
public static function getInfo() {
return array(
'name' => 'Area: Text',
......
......@@ -13,6 +13,14 @@
* Tests aggregate functionality of views, for example count.
*/
class QueryGroupByTest extends ViewsSqlTest {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('node');
public static function getInfo() {
return array(
'name' => 'Groupby',
......@@ -286,4 +294,5 @@ function viewsGroupByCountViewOnlyFilters() {
return $view;
}
}
......@@ -13,6 +13,14 @@
* Views class tests.
*/
class ViewTest extends ViewsSqlTest {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = array('node', 'comment');
public static function getInfo() {
return array(
'name' => 'Test the view class',
......@@ -291,4 +299,5 @@ function view_test_delete() {
return $view;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment