Skip to content

통합 테스트의 Mock Mvc 부분의 중복된 코드 리펙토링 #205

@tellang

Description

@tellang
ResultActions actions = mockMvc.perform(post("url")
    .contentType(MediaType.APPLICATION_JSON)
    .header("Authorization", "Bearer " + token)
    .content(body));

와 같이 통합 테스트의 Mock Mvc 를 호출하는 과정이 반복되어 나타남

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringFix invaild code styletestCreate or change the test

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions