Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Skipf (0.13 sec)

  1. tests/create_test.go

    	AssertEqual(t, u2.Email, "on-conflict-user-email-2")
    	AssertEqual(t, u2.Mobile, "133xxxx")
    }
    
    func TestCreateFromMapWithoutPK(t *testing.T) {
    	if !isMysql() {
    		t.Skipf("This test case skipped, because of only supporting for mysql")
    	}
    
    	// case 1: one record, create from map[string]interface{}
    	mapValue1 := map[string]interface{}{"name": "create_from_map_with_schema1", "age": 1}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  2. tests/helper_test.go

    				"Birthday", "CompanyID", "ManagerID", "Active")
    		}
    	})
    }
    
    func tidbSkip(t *testing.T, reason string) {
    	if isTiDB() {
    		t.Skipf("This test case skipped, because of TiDB '%s'", reason)
    	}
    }
    
    func isTiDB() bool {
    	return os.Getenv("GORM_DIALECT") == "tidb"
    }
    
    func isMysql() bool {
    	return os.Getenv("GORM_DIALECT") == "mysql"
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/sts-handlers_test.go

    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    					c.Skipf("Skipping LDAP test as no LDAP server is provided via %s", EnvTestLDAPServer)
    				}
    
    				suite.SetUpSuite(c)
    				suite.SetUpLDAP(c, ldapServer)
    				suite.TestLDAPSTS(c)
    				suite.TestLDAPUnicodeVariations(c)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top