Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 550 for invalidAt (0.4 sec)

  1. tests/hooks_test.go

    	DB.Migrator().DropTable(&Product{})
    	DB.AutoMigrate(&Product{})
    
    	p := Product{Code: "Invalid", Price: 100}
    	if DB.Save(&p).Error == nil {
    		t.Fatalf("An error from before create callbacks happened when create with invalid value")
    	}
    
    	if DB.Where("code = ?", "Invalid").First(&Product{}).Error == nil {
    		t.Fatalf("Should not save record that have errors")
    	}
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    		if !isAmount {
    			return errors.New("invalid register extension")
    		}
    		switch ext {
    		case "UXTB":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    			a.Reg = arm64.REG_UXTB + Rnum
    		case "UXTH":
    			if a.Type == obj.TYPE_MEM {
    				return errors.New("invalid shift for the register offset addressing mode")
    			}
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Thu Sep 29 09:04:58 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. tests/main_test.go

    		t.Skip("skip sqlserver due to it will raise data race for invalid sql")
    	}
    
    	var columns []string
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    Registered: Sun Oct 27 09:35:08 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py

        response = client.get("/items/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_get_invalid_second_header(client: TestClient):
        response = client.get(
            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_one_users():
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			if op == policyCondStartsWith && !startsWithSupported {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    			// Check if current policy condition is satisfied
    			condPassed = checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value)
    			if !condPassed {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  8. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "InvalidColumnIndex",
    		message:    "Column index in the SQL expression is invalid.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidTextEncoding(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidTextEncoding",
    		message:    "Invalid encoding type. Only UTF-8 encoding is supported.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. internal/bucket/encryption/bucket-sse-config_test.go

    			expectedErr:    nil,
    			shouldPass:     true,
    			expectedConfig: actualKMSConfig,
    			keyID:          "my-minio-key",
    		},
    		// 3. Invalid - more than one rule
    		{
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Aug 16 18:28:30 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/main/resources/fess_message.properties

    constraints.CreditCardNumber.message        = {item} is invalid credit card number.
    constraints.EAN.message                     = {item} is invalid {type} barcode.
    constraints.Email.message                   = {item} is not a well-formed email address.
    constraints.Length.message                  = Length of {item} must be between {min} and {max}.
    constraints.LuhnCheck.message               = The check digit for ${value} is invalid, Luhn Modulo 10 checksum failed.
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top