updated contrib modules
This commit is contained in:
@@ -9,9 +9,20 @@
|
||||
* Tests basic user module integration into views.
|
||||
*/
|
||||
class ViewsUserTestCase extends ViewsSqlTest {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
var $users = array();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
var $nodes = array();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static function getInfo() {
|
||||
return array(
|
||||
'name' => 'Tests basic user integration',
|
||||
@@ -20,7 +31,9 @@ class ViewsUserTestCase extends ViewsSqlTest {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
protected function setUp() {
|
||||
parent::setUp();
|
||||
|
||||
@@ -31,7 +44,7 @@ class ViewsUserTestCase extends ViewsSqlTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a view which has no explicit relationship to the author and check the result.
|
||||
* Add a view which has no explicit relationship to the author.
|
||||
*
|
||||
* @todo: Remove the following comment once the relationship is required.
|
||||
* One day a view will require the relationship so it should still work
|
||||
@@ -51,8 +64,11 @@ class ViewsUserTestCase extends ViewsSqlTest {
|
||||
$this->assertIdenticalResultset($view, $expected);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function test_view_user_relationship() {
|
||||
$view = new view;
|
||||
$view = new view();
|
||||
$view->name = 'test_user_relationship';
|
||||
$view->description = '';
|
||||
$view->tag = 'default';
|
||||
@@ -140,4 +156,5 @@ class ViewsUserTestCase extends ViewsSqlTest {
|
||||
|
||||
return $view;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user