We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaa021a commit b4167f8Copy full SHA for b4167f8
1 file changed
tests/TestCase/Command/TemplateCommandTest.php
@@ -439,6 +439,11 @@ public function testGetContentWithRoutingPrefix()
439
*/
440
public function testBakeView()
441
{
442
+ if (version_compare(Configure::version(), '4.5.0', '<')) {
443
+ $this->markTestSkipped(
444
+ 'CakePHP versions older than 4.5.0 will generate `$author->profile->nick` instead of `$author->profile->id`'
445
+ );
446
+ }
447
$this->generatedFile = ROOT . 'templates/Authors/view.php';
448
$this->exec('bake template authors view');
449
0 commit comments