[2.x]In getMockForModel, place useDbConfig test_xxx by Khigashiguchi · Pull Request #11811 · cakephp/cakephp

Mock secondary datasource by getMockForModel does not connect test_xxx database. That's why modify test and CakeTestCake.getMockForModel. Ref issue #11810