From 2c4ac070a3cce9a89553dea40437413e3e1fb8d0 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Fri, 9 Dec 2022 11:07:43 +0200 Subject: [PATCH] fixed record delete tests --- apis/record_crud_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/record_crud_test.go b/apis/record_crud_test.go index 9b21baa6..5965a32d 100644 --- a/apis/record_crud_test.go +++ b/apis/record_crud_test.go @@ -731,7 +731,7 @@ func TestRecordCrudDelete(t *testing.T) { ExpectedEvents: map[string]int{ "OnRecordBeforeDeleteRequest": 1, "OnModelBeforeUpdate": 1, // self_rel_many update of test1 record - "OnModelBeforeDelete": 1, // rel_one_cascade of test1 record + "OnModelBeforeDelete": 2, // the record itself + rel_one_cascade of test1 record }, }, {