replace deprecated redirectSuccess method
Merge pull request #732 from lunika/functional_testing

replace deprecated redirectSuccess method