Skip to content

Conversation

avlo
Copy link
Collaborator

@avlo avlo commented May 27, 2024

No description provided.

@kuiperanon
Copy link
Contributor

kuiperanon commented May 27, 2024

These changes fixed the test failures for me.

@tcheeric tcheeric self-assigned this May 27, 2024
@@ -280,7 +280,7 @@ void testNIP57CreateZapRequestEvent() throws NostrException {
final String ZAP_REQUEST_CONTENT = "zap request content";
final Long AMOUNT = 1232456L;
final String LNURL = "lnUrl";
final String RELAYS_TAG = "relaystag";
final String RELAYS_TAG = "ws://localhost:5555";
Copy link
Owner

Choose a reason for hiding this comment

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

Does this assume that a local relay must run on port 5555 for the unit test to work?

cc: @avlo , @kuiperanon

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no- it's exclusively/simply a test of:

  1. proper ZapRequestEvent object creation (via api.NIP57<>.createZapRequestEvent())
  2. it's requisite fields populated, and
  3. field values validated

@tcheeric tcheeric merged commit 6a1b776 into tcheeric:develop May 28, 2024
@avlo avlo deleted the nip57-uri_format branch May 29, 2024 01:38
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.

3 participants