Skip to content

Fixing issue when OkHttp request method in attachment is always GET#240

Merged
eroshenkoam merged 1 commit into
allure-framework:masterfrom
dkorobtsov:patch-1
Aug 23, 2018
Merged

Fixing issue when OkHttp request method in attachment is always GET#240
eroshenkoam merged 1 commit into
allure-framework:masterfrom
dkorobtsov:patch-1

Conversation

@dkorobtsov
Copy link
Copy Markdown
Contributor

@dkorobtsov dkorobtsov commented Aug 16, 2018

At the moment attachment created by this interceptor always shows default value GET defined in template:
<#if data.method??>${data.method}<#else>GET</#if>

because actual method value is never defined. This small fix resolves that problem.

//: # (
. Thank you so much for sending us a pull request!
.
. Make sure you have a clear name for your pull request.
. The name should start with a capital letter and no dot is required in the end of the sentence.
. To link the request with isses use the following notation: (fixes #123, fixes #321)
.
. An example of good pull request names:
. - Add Russian translation (fixes #123)
. - Add an ability to disable default plugins
. - Support emoji in test descriptions
)

Context

Checklist

…ayed as GET

At the moment attachment created by this interceptor always shows default value GET defined in template: 
<#if data.method??>${data.method}<#else>GET</#if> 

because actual method value is never defined. This small fix resolves that problem.
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Aug 16, 2018

CLA assistant check
All committers have signed the CLA.

@eroshenkoam eroshenkoam merged commit 48a2f51 into allure-framework:master Aug 23, 2018
@eroshenkoam
Copy link
Copy Markdown
Member

ty! 👍

@dkorobtsov dkorobtsov deleted the patch-1 branch August 23, 2018 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enum class cast exception when using varargs generic constant parameter in step

3 participants