REST amDigestAuthenticated doesn't work with framework modules

Open
#49 4 comments 0 reactions 1 assignee View on GitHub

@Naktibalda is already working on this.

Since Nov 1, 2015.

Assessment

This issue has not been assessed yet.

Description

REST amDigestAuthenticated method doesn't work with framework modules.

https://github.com/Codeception/Codeception/blob/6f30eeb1032cff54ffcf99a87b01d8d6c839450b/src/Codeception/Module/REST.php#L263

public function amDigestAuthenticated($username, $password)
{
    $this->client->setAuth($username, $password, CURLAUTH_DIGEST);
}

Only Guzzle connectors have setAuth method.

Dominant language
PHP
Stars
60
Forks
29
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from Codeception/module-rest

All issues in Codeception/module-rest

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.