Sunday, January 9, 2022

[FIXED] Customizing TestTask

Issue

i want to customize the TestTask::_processModel() function. I already customized ModelTask and ControllerTask by copying them to my src\Shell folder, changing namespace to App\Shell\Task and adding use Bake\Shell\Task\BakeTask at top

I did exactly the same with TestTask, but it gets ignored by bake; and i want to avoid editing the default TestTask. Someone an idea?


Solution

If you're hoping to change the TestTask used by other bake tasks you'll need to replace the $tasks property in your ModelTask and ControllerTask as they specify Bake.Test.



Answered By - Mark Story

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.