mirror of
https://github.com/Cameri/nostream.git
synced 2025-07-28 22:42:18 +02:00
14 lines
585 B
Gherkin
14 lines
585 B
Gherkin
Feature: NIP-42
|
|
Scenario: Alice gets an event by ID
|
|
Given someone called Alice
|
|
And the relay requires the client to authenticate
|
|
When Alice sends a text_note event with content "hello nostr" unsuccessfully
|
|
Then Alice receives an authentication challenge
|
|
|
|
Scenario: Alice sends a signed challenge event
|
|
Given someone called Alice
|
|
And the relay requires the client to authenticate
|
|
When Alice sends a text_note event with content "hello nostr" unsuccessfully
|
|
And Alice receives an authentication challenge
|
|
Then Alice sends a signed_challenge_event
|