Added systemPropertyRule to the apoc.trigger.* related tests, to solve tests that fail due to these changes.
Otherwise, we will have a NullPointer, since the triggerHandler variable won't be assigned.
This happens since, using the apocConfig().setProperty(ApocConfig.APOC_TRIGGER_ENABLED, true); currently present, this if condition is false, because the apocConfig will be evaluated later, unlike the systemPropertyRule mechanism.
Added
systemPropertyRule
to theapoc.trigger.*
related tests, to solve tests that fail due to these changes.Otherwise, we will have a NullPointer, since the
triggerHandler
variable won't be assigned.This happens since, using the
apocConfig().setProperty(ApocConfig.APOC_TRIGGER_ENABLED, true);
currently present, this if condition is false, because theapocConfig
will be evaluated later, unlike thesystemPropertyRule
mechanism.Other changes