Commit 2468e300 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

[bug] scenario omits [email].

Fixed by assigning $request->{email} to scenario context.
parent fbf83de0
......@@ -65,6 +65,10 @@ sub _twist {
my $context = $self->{scenario_context}
or die 'bug in logic. Ask developer';
# Suppress target email kept only in request.
# FIXME: $request and $context would be merged in some future
$context = {email => $request->{email}, %$context}
if exists $request->{email};
# Call scenario: auth_method MD5 do not have any sense in
# scenario because auth is performed by AUTH command.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment