for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author Sergii Bondarenko, <[email protected]>
*/
namespace Drupal\TqExtension\Context\Drush;
// Contexts.
use Drupal\TqExtension\Context\RawTqContext;
class RawDrushContext extends RawTqContext
{
* @param string $username
*
* @return string
public function getOneTimeLoginLink($username)
return trim($this->getDrushDriver()->drush('uli', [
$username,
'--browser=0',
'--uri=' . $this->locatePath(),
]));
}