Fix ActiveRecord::ConnectionAdapters::ConnectionSpecification::ResolverTest

This fixes the bug introduced by #9120.