We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if we want to use an another user for auth, we have to do this:
public function testPaymentsAreNotShownOnSearch() { $this->loginAs($this->getReference('user_super_admin')); $client = $this->makeClient(); }
Why not make makeClient accepting UserInterface instances? And then we can simplify the call like this:
makeClient
UserInterface
public function testPaymentsAreNotShownOnSearch() { $client = $this->makeClient($this->getReference('user_super_admin')); }
And same for fetchContent.
fetchContent
What do you think?
Note: We may also need #345.
The text was updated successfully, but these errors were encountered:
How would this work with custom logins and other custom stuff that the end user may be interested in doing?
Sorry, something went wrong.
@Jean85 What do you mean? Do you have an example of what would be problematic?
Note: I don't say to remove the $this->makeClient(true) method, both should be possible.
$this->makeClient(true)
No branches or pull requests
Currently, if we want to use an another user for auth, we have to do this:
Why not make
makeClient
acceptingUserInterface
instances? And then we can simplify the call like this:And same for
fetchContent
.What do you think?
Note: We may also need #345.
The text was updated successfully, but these errors were encountered: