File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ working correctly. Some common problems are:
45452 . Your hostname needs to be added to the ` DebugKit.safeTld ` . If your local
4646 domain isn't a known development environment name, DebugKit will disable
4747 itself to protect a potentially non-development environment.
48+ 3 . If you are using the [ Authorization Plugin] ( https://github.com/cakephp/authorization )
49+ you need to set ` DebugKit.ignoreAuthorization ` to ` true ` in your config.
4850
4951## Reporting Issues
5052
Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ public function testSqlPlain()
131131 /**
132132 * Creates a Query object for testing.
133133 *
134- * @return \Cake\ORM\Query
134+ * @return \Cake\ORM\Query\SelectQuery
135135 */
136136 private function newQuery ()
137137 {
138- return $ this ->fetchTable ('panels ' )->query ();
138+ return $ this ->fetchTable ('panels ' )->selectQuery ();
139139 }
140140}
Original file line number Diff line number Diff line change @@ -64,10 +64,8 @@ public function testShutdown()
6464 $ requests = $ this ->getTableLocator ()->get ('Requests ' );
6565 $ query = $ requests ->find ('all ' );
6666 $ result = $ requests ->find ()->all ();
67- $ unbufferedQuery = $ requests ->find ('all ' );
68- $ unbufferedQuery ->toArray (); //toArray call would normally happen somewhere in View, usually implicitly
6967 $ update = $ requests ->updateQuery ();
70- $ debugInfoException = $ requests ->query ()->contain ('NonExistentAssociation ' );
68+ $ debugInfoException = $ requests ->selectQuery ()->contain ('NonExistentAssociation ' );
7169
7270 $ unserializable = new stdClass ();
7371 $ unserializable ->pdo = new PDO ('sqlite::memory: ' );
@@ -91,7 +89,6 @@ public function testShutdown()
9189 'debugInfoException ' => $ debugInfoException ,
9290 'updateQuery ' => $ update ,
9391 'query ' => $ query ,
94- 'unbufferedQuery ' => $ unbufferedQuery ,
9592 'result set ' => $ result ,
9693 'string ' => 'yes ' ,
9794 'array ' => ['some ' => 'key ' ],
You can’t perform that action at this time.
0 commit comments