Testing a controller that has validation: getVar don't work |
(03-01-2023, 12:30 AM)kenjis Wrote: I think using getPost() is better when you use POST requests. For now I setted 'request' in the test and it works! But I'll change all validations to use 'validateData' because seem to me the right way to solve this. Thanks! |
Messages In This Thread |
Testing a controller that has validation: getVar don't work - by evandroagnes - 02-28-2023, 02:14 AM
RE: Testing a controller that has validation: getVar don't work - by kenjis - 03-01-2023, 12:30 AM
RE: Testing a controller that has validation: getVar don't work - by evandroagnes - 03-01-2023, 02:34 AM
|