Skip to content

Commit 32aba8b

Browse files
pietroalbiniTurbo87
authored andcommitted
tests/owners: Add v1 suffix to invitation tests
1 parent b75a4a6 commit 32aba8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tests/owners.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,15 +414,15 @@ fn deleted_ownership_isnt_in_owner_user() {
414414
}
415415

416416
#[test]
417-
fn invitations_are_empty_by_default() {
417+
fn invitations_are_empty_by_default_v1() {
418418
let (_, _, user) = TestApp::init().with_user();
419419

420420
let json = user.list_invitations();
421421
assert_eq!(json.crate_owner_invitations.len(), 0);
422422
}
423423

424424
#[test]
425-
fn api_token_cannot_list_invitations() {
425+
fn api_token_cannot_list_invitations_v1() {
426426
let (_, _, _, token) = TestApp::init().with_token();
427427

428428
token
@@ -431,7 +431,7 @@ fn api_token_cannot_list_invitations() {
431431
}
432432

433433
#[test]
434-
fn invitations_list() {
434+
fn invitations_list_v1() {
435435
let (app, _, owner, token) = TestApp::init().with_token();
436436
let owner = owner.as_model();
437437

@@ -464,7 +464,7 @@ fn invitations_list() {
464464
}
465465

466466
#[test]
467-
fn invitations_list_does_not_include_expired_invites() {
467+
fn invitations_list_does_not_include_expired_invites_v1() {
468468
let (app, _, owner, token) = TestApp::init().with_token();
469469
let owner = owner.as_model();
470470

0 commit comments

Comments
 (0)