Use fixtures :all to ensure consistent test data and improve test reliability (#41961).

Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-12-11 10:17:57 +00:00
parent 7ae0427c9e
commit 4fb1e4bea0
241 changed files with 2 additions and 1378 deletions

View File

@@ -22,10 +22,6 @@ require_relative '../test_helper'
class WikiHelperTest < Redmine::HelperTest
include WikiHelper
fixtures :projects, :users,
:roles, :member_roles, :members,
:enabled_modules, :wikis, :wiki_pages
def test_wiki_page_edit_cancel_path_for_new_page_without_parent_should_be_wiki_index
wiki = Wiki.find(1)
page = WikiPage.new(:wiki => wiki)