File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/TestCase/Model/Behavior Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -468,13 +468,13 @@ public function testAssociations()
468
468
);
469
469
$ table ->addBehavior ('Josegonzalez/Version.Version ' );
470
470
471
- $ this ->assertTrue ($ table ->associations ()->has ('articleversion ' ));
472
- $ versions = $ table ->getAssociation ('articleversion ' );
471
+ $ this ->assertTrue ($ table ->associations ()->has ('ArticleVersion ' ));
472
+ $ versions = $ table ->getAssociation ('ArticleVersion ' );
473
473
$ this ->assertInstanceOf ('Cake\Orm\Association\HasMany ' , $ versions );
474
474
$ this ->assertEquals ('__version ' , $ versions ->getProperty ());
475
475
476
- $ this ->assertTrue ($ table ->associations ()->has ('articlebodyversion ' ));
477
- $ bodyVersions = $ table ->getAssociation ('articlebodyversion ' );
476
+ $ this ->assertTrue ($ table ->associations ()->has ('ArticleBodyVersion ' ));
477
+ $ bodyVersions = $ table ->getAssociation ('ArticleBodyVersion ' );
478
478
$ this ->assertInstanceOf ('Cake\Orm\Association\HasMany ' , $ bodyVersions );
479
479
$ this ->assertEquals ('body_version ' , $ bodyVersions ->getProperty ());
480
480
}
You can’t perform that action at this time.
0 commit comments