Skip to content

testing(common::operation): Improve coverage #331

@distractedm1nd

Description

@distractedm1nd

Quite a few branches are missing from the test coverage for operation.rs.

  • SignatureBundle::new
  • ServiceChallenge::from(signing_key)
  • Operation::validate_basic ("id must not empty...") errors, and "service_id must not be.." error
  • Operation::validate_basic for AddKey, RevokeKey, SetData, and AddData
  • Operation::get_public_key for RevokeKey, AddKey, RegisterService, and Add/SetData. Already called once for CreateAccount

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions