{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/19","repository_url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin","labels_url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/19/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/19/events","html_url":"https://github.com/jcabi/jcabi-beanstalk-maven-plugin/issues/19","id":57168156,"number":19,"title":"WarFileTest.checkEbextensionsValidityThrowsExceptionNoDir broken.","user":{"login":"nhekfqn","id":2463738,"avatar_url":"https://avatars.githubusercontent.com/u/2463738?v=3","gravatar_id":"","url":"https://api.github.com/users/nhekfqn","html_url":"https://github.com/nhekfqn","followers_url":"https://api.github.com/users/nhekfqn/followers","following_url":"https://api.github.com/users/nhekfqn/following{/other_user}","gists_url":"https://api.github.com/users/nhekfqn/gists{/gist_id}","starred_url":"https://api.github.com/users/nhekfqn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nhekfqn/subscriptions","organizations_url":"https://api.github.com/users/nhekfqn/orgs","repos_url":"https://api.github.com/users/nhekfqn/repos","events_url":"https://api.github.com/users/nhekfqn/events{/privacy}","received_events_url":"https://api.github.com/users/nhekfqn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/labels/@prondzyn","name":"@prondzyn","color":"009801"},{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/labels/DEV","name":"DEV","color":"bfd4f3"}],"state":"open","locked":false,"assignee":{"login":"prondzyn","id":5822647,"avatar_url":"https://avatars.githubusercontent.com/u/5822647?v=3","gravatar_id":"","url":"https://api.github.com/users/prondzyn","html_url":"https://github.com/prondzyn","followers_url":"https://api.github.com/users/prondzyn/followers","following_url":"https://api.github.com/users/prondzyn/following{/other_user}","gists_url":"https://api.github.com/users/prondzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/prondzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prondzyn/subscriptions","organizations_url":"https://api.github.com/users/prondzyn/orgs","repos_url":"https://api.github.com/users/prondzyn/repos","events_url":"https://api.github.com/users/prondzyn/events{/privacy}","received_events_url":"https://api.github.com/users/prondzyn/received_events","type":"User","site_admin":false},"assignees":[{"login":"prondzyn","id":5822647,"avatar_url":"https://avatars.githubusercontent.com/u/5822647?v=3","gravatar_id":"","url":"https://api.github.com/users/prondzyn","html_url":"https://github.com/prondzyn","followers_url":"https://api.github.com/users/prondzyn/followers","following_url":"https://api.github.com/users/prondzyn/following{/other_user}","gists_url":"https://api.github.com/users/prondzyn/gists{/gist_id}","starred_url":"https://api.github.com/users/prondzyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prondzyn/subscriptions","organizations_url":"https://api.github.com/users/prondzyn/orgs","repos_url":"https://api.github.com/users/prondzyn/repos","events_url":"https://api.github.com/users/prondzyn/events{/privacy}","received_events_url":"https://api.github.com/users/prondzyn/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2015-02-10T12:27:16Z","updated_at":"2016-08-22T07:16:01Z","closed_at":null,"body":"That test does not actually check that exception is thrown. If no exception is thrown, assert will not be called and test will pass.\r\n\r\n```\r\n@Test\r\n    public void checkEbextensionsValidityThrowsExceptionNoDir()\r\n        throws IOException {\r\n        final ZipFile zip = Mockito.mock(ZipFile.class);\r\n        Mockito.when(zip.getEntry(\".ebextensions\")).thenReturn(null);\r\n        final WarFile war = new WarFile(zip);\r\n        try {\r\n            war.checkEbextensionsValidity();\r\n        } catch (final MojoFailureException exception) {\r\n            MatcherAssert.assertThat(\r\n                exception.getMessage(),\r\n                Matchers.equalTo(\r\n                    \".ebextensions directory does not exist in the WAR file\"\r\n                )\r\n            );\r\n        }\r\n```"},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/comments/241331778","html_url":"https://github.com/jcabi/jcabi-beanstalk-maven-plugin/issues/19#issuecomment-241331778","issue_url":"https://api.github.com/repos/jcabi/jcabi-beanstalk-maven-plugin/issues/19","id":241331778,"user":{"login":"dmarkov","id":5993843,"avatar_url":"https://avatars.githubusercontent.com/u/5993843?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkov","html_url":"https://github.com/dmarkov","followers_url":"https://api.github.com/users/dmarkov/followers","following_url":"https://api.github.com/users/dmarkov/following{/other_user}","gists_url":"https://api.github.com/users/dmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkov/subscriptions","organizations_url":"https://api.github.com/users/dmarkov/orgs","repos_url":"https://api.github.com/users/dmarkov/repos","events_url":"https://api.github.com/users/dmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkov/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T07:16:00Z","updated_at":"2016-08-22T07:16:00Z","body":"@prondzyn this task is in your hands for 16 days already\n\nadded -30 to your rating, now it is equal to [+60](http://www.netbout.com/b/35715?open=rating)"}}
{"actor":{"display_login":"dmarkov"}}