nextcloud / nextcloud/server

LDAP: migrate/transform remaining integration test

Open
#10,686 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature: ldap overview tests
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Follow up to https://github.com/nextcloud/server/pull/8855

Tests that still need to be migrated or transformed (because they ain't really integration tests…):

  • IntegrationTestAttributeDetection.php
  • IntegrationTestCountUsersByLoginName.php
  • IntegrationTestFetchUsersByLoginName.php
  • IntegrationTestPaging.php (partly)
  • IntegrationTestUserHome.php
  • User/IntegrationTestUserAvatar.php
  • User/IntegrationTestUserCleanUp.php
  • User/IntegrationTestUserDisplayName.php

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with pull request 8855 and inspect the listed LDAP test files: IntegrationTestAttributeDetection.php, IntegrationTestCountUsersByLoginName.php, IntegrationTestFetchUsersByLoginName.php, IntegrationTestPaging.php, IntegrationTestUserHome.php, and the three User tests. Determine which tests should be migrated or transformed rather than remain integration tests; done means all listed items are handled and the LDAP test suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.