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

Test apps with no paths #625

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

benjamin-confino
Copy link
Contributor

@benjamin-confino benjamin-confino commented May 30, 2024

fixes #592

No changes to smallrye were required to pass these tests.

@eclipse-microprofile-bot
Copy link
Contributor

Can one of the admins verify this patch?

@Test(dataProvider = "formatProvider")
public void testDocumentCreated(String type) {
ValidatableResponse vr = callEndpoint(type);
vr.body("webhooks.blackMarketEvent.get.summary", equalTo("Notifies that a illicit deal has been done"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this pass? It looks like it ought to fail. If it is passing then I'm even more worried.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good news, it needed fixing to pass.

Comment on lines +33 to +34
.addAsManifestResource("microprofile-reader-just-component.properties",
"microprofile-config.properties");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is actually putting the properties file in the wrong place, but the existing tests are also wrong, so I'll raise a new issue for that.

@Azquelt Azquelt merged commit 3ba3a3f into eclipse:main May 31, 2024
3 checks passed
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.

[OAS 3.1.0] Only one of Paths, Components, or Webhooks is required
3 participants