|
8 | 8 | use yii2\extensions\nestedsets\tests\base\AbstractNodeAppend;
|
9 | 9 | use yii2\extensions\nestedsets\tests\support\DatabaseConnection;
|
10 | 10 |
|
| 11 | +/** |
| 12 | + * Test suite for node append and root promotion in nested sets tree behaviors using PostgreSQL. |
| 13 | + * |
| 14 | + * Provides comprehensive unit and integration tests for appending nodes and promoting nodes to root in nested sets tree |
| 15 | + * structures on PostgreSQL, ensuring correct tree structure, attribute updates, and validation logic for both |
| 16 | + * single-tree and multi-tree models. |
| 17 | + * |
| 18 | + * Inherits tests from {@see AbstractNodeAppend} to validate node append operations, strict validation scenarios, root |
| 19 | + * promotion, and XML dataset matching after structural changes, covering edge cases such as validation bypass, |
| 20 | + * attribute refresh requirements, and cross-tree operations. |
| 21 | + * |
| 22 | + * Key features. |
| 23 | + * - Covers both {@see Tree} and {@see MultipleTree} model scenarios. |
| 24 | + * - Cross-tree append operations for multi-tree models. |
| 25 | + * - Ensures correct left, right, depth, and tree attribute updates for PostgreSQL. |
| 26 | + * - PostgreSQL-specific configuration for database connection and credentials. |
| 27 | + * - Root promotion and attribute refresh verification. |
| 28 | + * - Validation of strict and non-strict append operations. |
| 29 | + * - XML dataset matching after structural changes. |
| 30 | + * |
| 31 | + * @see AbstractNodeAppend for test logic and scenarios. |
| 32 | + * |
| 33 | + * @copyright Copyright (C) 2023 Terabytesoftw. |
| 34 | + * @license https://opensource.org/license/bsd-3-clause BSD 3-Clause License. |
| 35 | + */ |
11 | 36 | #[Group('pgsql')]
|
12 | 37 | final class NodeAppendTest extends AbstractNodeAppend
|
13 | 38 | {
|
|
0 commit comments