Skip to content
Permalink
Browse files

Trying to see if Articles->Tags exists

  • Loading branch information...
Patrick Conroy
Patrick Conroy committed Aug 26, 2014
1 parent 66933e0 commit dfe379db68e4c07f9cc776ae1b9b1cb89579aa30
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/TestCase/Controller/ControllerTest.php
@@ -888,8 +888,9 @@ public function testPaginateSendsFinderOptions() {
$testTags = [2, 3];
$Controller = new Controller($request, $response);
$Controller->loadModel('Articles');
$Controller->constructClasses();
$this->assertInstanceOf('Cake\ORM\Table', $Controller->Articles);
$this->assertInstanceOf('Cake\ORM\Association\BelongsToMany', $Controller->Articles->Tags);
$Controller->paginate = [
'Articles' => [
'finder' => 'customTags',

0 comments on commit dfe379d

Please sign in to comment.
You can’t perform that action at this time.