-
Notifications
You must be signed in to change notification settings - Fork 1
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
8 missing sweetest for external id #62
Conversation
update to branch
fix: auto select latest external ID; catch bad jq programs; format ge…
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, just a few changes please.
|
||
//this test anticipates future code changes that chnage tht behaviour | ||
#[tokio::test(flavor = "multi_thread")] | ||
async fn same_external_id_cannot_be_registered_twice_from_another_user() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this test, and instead open an issue to track the feature request. It's really confusing to have a test that asserts the opposite of what it say it asserts.
// Alice gets the external_id Attestation | ||
setup.consistency().await; | ||
|
||
let maybe_record2: Vec<Record> = setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confusing name given its a vec
#[tokio::test(flavor = "multi_thread")] | ||
async fn only_authority_can_confirm_request() { | ||
let setup = TestSetup::authority_and_alice().await; | ||
//setup.conductors.exchange_peer_info().await; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm commented line
|
||
|
||
|
||
//this test anticipates future code changes that chnage tht behaviour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling! I know I've asked you delete this test anyway, but this seems like a good opportunity to remind you about:
https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.