提交 98f982f9 编写于 作者: D Douwe Maan

Only postgres does case sensitive compares

上级 05cb65dc
......@@ -70,7 +70,7 @@ describe ProjectsController do
# MySQL queries are case insensitive by default, so this spec would fail.
unless Gitlab::Database.mysql?
if Gitlab::Database.postgresql?
context "when there is also a match with the same casing" do
let!(:other_project) { create(:project, :public, namespace: public_project.namespace, path: public_project.path.upcase) }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册