public function RestfulPassThroughTestCase::testDbQuery in RESTful 7.2
Same name and namespace in other branches
- 7 tests/RestfulPassThroughTestCase.test \RestfulPassThroughTestCase::testDbQuery()
Test the pass-through property for an entity.
File
- tests/
RestfulPassThroughTestCase.test, line 41 - Contains RestfulPassThroughTestCase
Class
- RestfulPassThroughTestCase
- @file Contains RestfulPassThroughTestCase
Code
public function testDbQuery() {
$handler = restful_get_restful_handler('db_query_test');
$base_request = array(
'integer' => 1,
'string' => $this
->randomName(),
);
$this
->validatePassThrough($handler, $base_request);
}