github.com/greenpau/go-authcrunch@v1.1.4/internal/tests/identity.go (about)

     1  // Copyright 2022 Paul Greenberg greenpau@outlook.com
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package tests
    16  
    17  var (
    18  	// TestUser1 is the username for user1.
    19  	TestUser1 = "jsmith"
    20  	// TestEmail1 is the email for user1.
    21  	TestEmail1 = "jsmith@gmail.com"
    22  	// TestPwd1 is the password for user1.
    23  	TestPwd1 = NewRandomString(12)
    24  	// TestFullName1 is the full name for user1.
    25  	TestFullName1 = "Smith, John"
    26  	// TestRoles1 is the roles for user1.
    27  	TestRoles1 = []string{"viewer", "editor", "admin", "authp/admin"}
    28  	// TestUser2 is the username for user2.
    29  	TestUser2 = "bjones"
    30  	// TestEmail2 is the email for user2.
    31  	TestEmail2 = "bjones@gmail.com"
    32  	// TestPwd2 is the password for user2.
    33  	TestPwd2 = NewRandomString(16)
    34  	// TestFullName2  is the full name for user2.
    35  	TestFullName2 = ""
    36  	// TestRoles2 is the roles for user2.
    37  	TestRoles2 = []string{"viewer"}
    38  )