File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
tests/Annotated/Functional/Driver/Common Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 3838 ],
3939 "require" : {
4040 "php" : " >=8.1" ,
41- "cycle/orm" : " ^ 2.9.2" ,
42- "cycle/schema-builder" : " ^ 2.11.1" ,
41+ "cycle/orm" : " dev-obsolete-column as 2.9.2" ,
42+ "cycle/schema-builder" : " dev-obsolete-column as 2.11.1" ,
4343 "spiral/attributes" : " ^2.8|^3.0" ,
4444 "spiral/tokenizer" : " ^2.8|^3.0" ,
4545 "doctrine/inflector" : " ^2.0"
6161 "Cycle\\ Annotated\\ Tests\\ " : " tests/Annotated/"
6262 }
6363 },
64+ "repositories" : [
65+ {
66+ "type" : " git" ,
67+ "url" : " https://github.com/gam6itko/cycle-orm.git"
68+ },
69+ {
70+ "type" : " git" ,
71+ "url" : " https://github.com/gam6itko/schema-builder.git"
72+ }
73+ ],
6474 "scripts" : {
6575 "cs:diff" : " php-cs-fixer fix --dry-run -v --diff" ,
6676 "cs:fix" : " php-cs-fixer fix -v" ,
Original file line number Diff line number Diff line change @@ -61,7 +61,10 @@ public function testObsoleteColumn(ReaderInterface $reader): void
6161 $ this ->assertArrayNotHasKey ('skype ' , $ schema ['user ' ][SchemaInterface::TYPECAST ]);
6262 $ this ->assertArrayNotHasKey ('passport ' , $ schema ['user ' ][SchemaInterface::RELATIONS ]);
6363 $ this ->assertArrayNotHasKey ('address ' , $ schema ['user ' ][SchemaInterface::RELATIONS ]);
64+ $ this ->assertArrayNotHasKey ('bornCity ' , $ schema ['user ' ][SchemaInterface::RELATIONS ]);
6465 // passport
6566 $ this ->assertArrayNotHasKey ('user ' , $ schema ['passport ' ][SchemaInterface::RELATIONS ]);
67+ // city
68+ $ this ->assertArrayNotHasKey ('bornUsers ' , $ schema ['city ' ][SchemaInterface::RELATIONS ]);
6669 }
6770}
You can’t perform that action at this time.
0 commit comments