未验证 提交 98135434 编写于 作者: E Eugene Kenny 提交者: GitHub

Merge pull request #39952 from tgxworld/fix_incorrect_test

Fix wrong attributes being set in transactions savepoint test.
......@@ -520,7 +520,7 @@ def test_force_savepoint_in_nested_transaction
begin
Topic.transaction requires_new: true do
@first.happy = false
@first.approved = false
@first.save!
raise
end
......@@ -541,7 +541,7 @@ def test_force_savepoint_on_instance
begin
@second.transaction requires_new: true do
@first.happy = false
@first.approved = false
@first.save!
raise
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册