Silence deprecation warning in test

Missed a case that only occured for mysql/mysql2