[PP-1] Add BookTestTrait::addNodeToBook() method and convert book tests to use it

Created on 17 November 2021, over 2 years ago
Updated 1 May 2024, about 2 months ago

Problem/Motivation

At πŸ› Cannot save unpublished versions of published content for users without manage book privileges Needs work , earlier versions of the patch introduced a new BookTestTrait::addNodeToBook() method, but we agreed that was scope creep. If we're going to add such a helper method, we need to convert the existing book tests to use it where that makes sense.

Steps to reproduce

Proposed resolution

Add BookTestTrait::addNodeToBook() and use it in book tests.

Remaining tasks

  1. Reviews / refinements.
  2. RTBC.

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Needs work

Version

1.0

Component
BookΒ  β†’

Last updated 1 day ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @pwolanin
Created by

πŸ‡ΊπŸ‡ΈUnited States dww

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024