Skip to content

Commit dd180fb

Browse files
committed
Fix upgrade-testing.md
1 parent c69377f commit dd180fb

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

β€Ždocs/upgrade-testing.mdβ€Ž

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,9 @@ Base tests use YAML manifests from `test/upgrade/testdata/baseCrs/`. Currently t
195195
- **SpaceQuota**
196196
- **SpaceRole**
197197

198-
### Test Base Resource Dependencies
199-
**SpaceRole:** A space role can only be assigned to a user if the user is also a member of the imported parent organization.
200-
201-
🠊 Assign a user to the organization by either creating a SpaceMembers/SpaceRole resource or by using the BTP Cockpit
198+
#### Test Base Resource Dependencies
199+
- **SpaceRole:** A space role can only be assigned to a user if the user is also a member of the space's organization.\
200+
🠊 Assign a user to the space's organization by either creating a SpaceMembers/SpaceRole resource or by using the BTP Cockpit
202201

203202
#### Adding New Base Test Resources
204203

@@ -319,17 +318,14 @@ test/
319318
β”‚ β”œβ”€β”€ testdata/
320319
β”‚ β”‚ β”œβ”€β”€ baseCrs/ # Base upgrade test resources
321320
β”‚ β”‚ β”‚ β”œβ”€β”€ import.yaml # Organization (observe)
322-
β”‚ β”‚ β”‚ └── space.yaml # Space (create)
321+
β”‚ β”‚ β”‚ β”œβ”€β”€ space.yaml # Space (create)
322+
| β”‚ β”‚ β”œβ”€β”€ domain.yaml
323+
| β”‚ β”‚ β”œβ”€β”€ space_quota.yaml
324+
| β”‚ β”‚ └── space_role.yaml
323325
β”‚ β”‚ └── customCRs/ # Custom upgrade test resources
324326
β”‚ β”‚ └── externalNames/ # External-name validation test
325-
β”‚ β”‚ └── space.yaml
327+
β”‚ β”‚ β”œβ”€β”€ space.yaml
326328
| | └── import.yaml
327-
| | └── domain # Domain
328-
| β”‚ └── domain.yaml
329-
| | └── spaceQuota # SpaceQuota
330-
| β”‚ └── space_quota.yaml
331-
| | └── spaceRole # SpaceRole
332-
| β”‚ └── space_role.yaml
333329
β”‚ β”œβ”€β”€ main_test.go # Test environment setup
334330
β”‚ β”œβ”€β”€ upgrade_test.go # Base upgrade test logic
335331
β”‚ β”œβ”€β”€ base_upgrade_test.go # Custom upgrade test framework

0 commit comments

Comments
Β (0)