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

Junit failed due to LicenseTest #561

Closed
teruz opened this issue Mar 29, 2019 · 3 comments
Closed

Junit failed due to LicenseTest #561

teruz opened this issue Mar 29, 2019 · 3 comments
Labels
difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: bug bug in the library

Comments

@teruz
Copy link

teruz commented Mar 29, 2019

Issue Summary

$ mvn install
.....
Running com.sendgrid.LicenseTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec <<< FAILURE!
testLicenseShouldHaveCorrectYear(com.sendgrid.LicenseTest) Time elapsed: 0.001 sec <<< FAILURE!
org.junit.ComparisonFailure: License has incorrect year expected:<...pyright (c) 2013-201[8] SendGrid, Inc.> but was:<...pyright (c) 2013-201[9] SendGrid, Inc.>
at org.junit.Assert.assertEquals(Assert.java:115)
at com.sendgrid.LicenseTest.testLicenseShouldHaveCorrectYear(LicenseTest.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

Steps to Reproduce

  1. git clone https://github.com/sendgrid/sendgrid-java.git
  2. cd sendgrid-java
  3. mvn install

Technical details:

  • sendgrid-java v4.3.0
  • Java Version: 1.8
@thinkingserious thinkingserious added type: bug bug in the library status: help wanted requesting help from the community difficulty: easy fix is easy in difficulty up-for-grabs labels Mar 29, 2019
@thinkingserious
Copy link
Contributor

Hello @teruz,

Thanks for bringing this to our attention! I've added this to our backlog.

With Best Regards,

Elmer

@ghost
Copy link

ghost commented Mar 30, 2019

@thinkingserious Can I take this one?

@childish-sambino
Copy link
Contributor

Fixed by #599

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy fix is easy in difficulty status: help wanted requesting help from the community type: bug bug in the library
Projects
None yet
Development

No branches or pull requests

3 participants