---
title: "Task: Prove that a swap changes plans only while it is approved"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791230318@main"
source: "Changelog/1.0.0/Task-1791230318-ProveThatASwapChangesPlansOnlyWhileItIsApproved.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Prove that a swap changes plans only while it is approved {#task-1791230318}

## Description {#description}

Tests now pin the effects of a shift swap: a rejected, withdrawn, declined or expired swap changes neither plan, an
approved swap exchanges the two shifts only within its range, and neither employee's base assignment changes. Horilla
gave the colleague the requested shift on rejection and never reverted a reallocation.

## Impact {#impact}

None; the behaviour was already right.
