test: fix test from #9034 with STI for Oracle (#10037)

Oracle does not have a `onUpdate: 'CASCADE'` option.
Thus, the test fixtures had to be adapted.
Checking for the correct `onUpdate` actions for Oracle was introduced in #9786.
This commit is contained in:
Felix Gohla 2023-05-10 11:40:15 +02:00 committed by GitHub
parent abb9079f2b
commit d4607a8672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ export class AnimalEntity {
@ManyToOne(() => PersonEntity, ({ pets }) => pets, {
onDelete: "CASCADE",
onUpdate: "CASCADE",
onUpdate: "NO ACTION", // cascade would not work here as ORACLE does not have that action
})
person: PersonEntity
}