Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

Conversation

@artemgavrilov
Copy link
Contributor

@artemgavrilov artemgavrilov commented Jul 15, 2020

}

func TestPermissionsForSTTChecksPage(t *testing.T) {
func TestPermissions(t *testing.T) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golangci-lint] reported by reviewdog 🐶
Function 'TestPermissions' is too long (80 > 60) (funlen)

Gopkg.toml Outdated
[[constraint]]
name = "github.com/percona/pmm"
branch = "PMM-2.0"
branch = "SAAS-175-auth-api"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

@artemgavrilov artemgavrilov marked this pull request as ready for review July 16, 2020 16:51
@artemgavrilov artemgavrilov requested a review from BupycHuk as a code owner July 16, 2020 16:51
@artemgavrilov artemgavrilov requested review from AlekSi and palash25 July 16, 2020 16:51
Copy link
Contributor

@palash25 palash25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have two auth_test files in the server directory, maybe we should have top level comments explaining what kind of authentication do they tests for in each of those files

@artemgavrilov artemgavrilov requested a review from palash25 July 20, 2020 20:50
@AlekSi AlekSi self-assigned this Jul 27, 2020
@artemgavrilov artemgavrilov changed the title SAAS-175 Add permission tests for auth API SAAS-175 SAAS-174 Add tests for auth API Jul 27, 2020

// Tests in this file cover Percona Platform authentication.

func TestPlatform(t *testing.T) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golangci-lint] reported by reviewdog 🐶
Function 'TestPlatform' is too long (127 > 60) (funlen)

@artemgavrilov artemgavrilov changed the title SAAS-175 SAAS-174 Add tests for auth API SAAS-175 Add tests for auth API Jul 28, 2020
@AlekSi AlekSi merged commit af10b6d into master Jul 28, 2020
@AlekSi AlekSi deleted the SAAS-175-auth-api branch July 28, 2020 17:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants