laravel-activitylog icon indicating copy to clipboard operation
laravel-activitylog copied to clipboard

[FIX]: Handle string values for activity log-enabled configuration.

Open hirenkeraliya opened this issue 8 months ago • 0 comments

Use Case:

I want to disable the activity log during the test. We are setting up default env variables using the phpunit.xml file as mentioned below.

<env name="ACTIVITY_LOGGER_ENABLED" value="false"/>

Root Cause: But, as per check on ActivityLogStatus.php making a strict comparison.

Solution: I have added support for the string values for the enabled option. And, covered all the tests for this feature. Please feel free to let me know if you have any concerns.

Thanks

hirenkeraliya avatar Jun 07 '24 06:06 hirenkeraliya