[MAGNOLIA-1951] Testing: cannot test MoveNodeTask since hm.getWorkspace().getSession.move(src,dst) is not supported by Mock objects Created: 10/Dec/07  Updated: 20/Feb/15  Resolved: 14/Aug/14

Status: Closed
Project: Magnolia
Component/s: testing
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Vivian Steller Assignee: Daniel Lipp
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

with that fix in place we also can solve the TODO in BackupTaskTest.



 Comments   
Comment by Daniel Lipp [ 14/Aug/14 ]

MockSession still doesn't implement move but the MoveNodeTask can easily be tested by using RepositoryTestCase. I'll actually add this missing test in a minute

Generated at Mon Feb 12 03:31:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.