Skip to content
New issue

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

Some accesses are not in model #12

Closed
VincentBlondeau opened this issue Sep 16, 2016 · 1 comment
Closed

Some accesses are not in model #12

VincentBlondeau opened this issue Sep 16, 2016 · 1 comment

Comments

@VincentBlondeau
Copy link

I took as example the project https://github.com/awillemant/puho commit version 8c29333.

There is this code:
package puho.controller;
public class PublicHolidayControllerTests {
    private MockMvc mockMvc;
    @Autowired
    private WebApplicationContext webApplicationContext;
    @Before
    public void setup() throws Exception {
        this.mockMvc = webAppContextSetup(webApplicationContext).build();
    }
    ....
}

In the model, the method PublicHolidayControllerTests::setup() accesses contain only webApplicationContext and should also contain mockMvc.

@girba
Copy link
Member

girba commented Sep 17, 2016

This is strange. I am taking a look.

girba added a commit that referenced this issue Sep 17, 2016
@girba girba closed this as completed Sep 17, 2016
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

No branches or pull requests

2 participants