Skip to content

Fix granted skill regression test construction - #10288

Merged
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/10174-item-test-constructor
Aug 26, 2026
Merged

Fix granted skill regression test construction#10288
LocalIdentity merged 1 commit into
PathOfBuildingCommunity:devfrom
mcagnion:bugfix/10174-item-test-constructor

Conversation

@mcagnion

@mcagnion mcagnion commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

PR #10174 added an item parsing regression test using the legacy new("Item", raw) constructor form. The current class API rejects constructor arguments passed to new(), so the test errors before reaching its granted-skill magnitude assertions.

This changes the call to new("Item"):Item(raw), matching the established constructor form. The production parser, fixture, and assertions remain unchanged.

Use the current two-stage Item constructor so the regression test reaches parsing. Addresses PR 10174.
@LocalIdentity LocalIdentity added the technical Hidden from release notes label Aug 26, 2026
@LocalIdentity
LocalIdentity merged commit b5ad843 into PathOfBuildingCommunity:dev Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Hidden from release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants