Description
unit test the db SQL wheather it is right.
It is the subtask of https://github.com/merico-dev/lake/issues/1656
Describe the solution you'd like
the SQL string of api_collector must be right in unit test.
gorm.db must not really run in test.
Has the Feature been Requested Before?
Please link any other
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Description
unit test the db SQL wheather it is right.
It is the subtask of https://github.com/merico-dev/lake/issues/1656
Describe the solution you'd like
the SQL string of api_collector must be right in unit test.
gorm.db must not really run in test.
Has the Feature been Requested Before?
Please link any other
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.