Skip to content

Fix tests after rewrite - #159

Open
uniejo wants to merge 2 commits into
Yancy-app:masterfrom
uniejo:fix-tests-after-rewrite
Open

uniejo wants to merge 2 commits into
Yancy-app:masterfrom
uniejo:fix-tests-after-rewrite

Conversation

@uniejo

@uniejo uniejo commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

port i18n test to new password auth

The new password auth template now uses the `l` helper for its labels,
and Yancy::Auth loads the I18N plugin if the app does not have it yet.
This lets t/i18n.t use Yancy::Auth::Password instead of the deleted
auth plugin roles.

uniejo and others added 2 commits October 1, 2026 10:10
Yancy::Controller::Yancy was renamed to Yancy::Controller::Model, and
Yancy::Plugin::File was removed in favor of Yancy::Storage. Update the
controller test and give the default editor a Yancy::Storage rooted at
public/uploads instead of loading the missing file plugin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The new password auth template now uses the `l` helper for its labels,
and Yancy::Auth loads the I18N plugin if the app does not have it yet.
This lets t/i18n.t use Yancy::Auth::Password instead of the deleted
auth plugin roles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant