mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-23 02:24:10 +00:00
integration: fix tags-only auth key tests
- Rename TestTagsAuthKeyWithoutUserIgnoresAdvertisedTags to TestTagsAuthKeyWithoutUserRejectsAdvertisedTags to reflect actual behavior (PreAuthKey registrations reject advertised tags) - Fix TestTagsAuthKeyWithoutUserInheritsTags to use ListNodes() without user filter since tags-only nodes don't have a user association Updates #2977
This commit is contained in:
parent
4ab06930a2
commit
b8f3e09046
2 changed files with 18 additions and 27 deletions
2
.github/workflows/test-integration.yaml
vendored
2
.github/workflows/test-integration.yaml
vendored
|
|
@ -241,7 +241,7 @@ jobs:
|
|||
- TestTagsAdminAPICannotSetInvalidFormat
|
||||
- TestTagsUserLoginReauthWithEmptyTagsRemovesAllTags
|
||||
- TestTagsAuthKeyWithoutUserInheritsTags
|
||||
- TestTagsAuthKeyWithoutUserIgnoresAdvertisedTags
|
||||
- TestTagsAuthKeyWithoutUserRejectsAdvertisedTags
|
||||
uses: ./.github/workflows/integration-test-template.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue