Skip to content

Conversation

@ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Aug 21, 2018

The new (php7.2) hasher's values are a bit longer than the ones of the old algorithm, hence we have to increase the column length.

  • Add a failing test that reproduces the issue
  • Fix the issue

Fixes #10766.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 21, 2018
@ChristophWurst ChristophWurst requested a review from rullzer August 21, 2018 04:54
@ChristophWurst
Copy link
Member Author

@rullzer I expected my first commit to trigger some CI errors, but it seems all okay. How's that possible? How can I find out if my tests are even executed?

@rullzer
Copy link
Member

rullzer commented Aug 21, 2018

@ChristophWurst good question let me have a look

@rullzer
Copy link
Member

rullzer commented Aug 21, 2018

Tests are not executed as per:

if (strpos($path, 'Integration')) {

so that is why they don't fail :P

Apparently the Nextcloud server ignores tests that have `Integration` in their
fully-qualified class name, hence the backup codes integration tests were removed.
This moves them up one directory (out of `Integration`) to fix that.
Real unit tests remain in the `Unit` directory.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a version bump to trigger the migration 👍

@MorrisJobke MorrisJobke merged commit eba4479 into master Aug 21, 2018
@MorrisJobke MorrisJobke deleted the fix/10766/backup-codes-column-length-argon branch August 21, 2018 09:08
@rullzer rullzer mentioned this pull request Aug 22, 2018
3 tasks
@MorrisJobke MorrisJobke mentioned this pull request Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants