Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUpdateFrom (0.13 sec)

  1. tests/update_test.go

    	}
    	if o2.Token.Content != "token2_encrypted" {
    		t.Errorf(`token content should be "token2_encrypted", but got: "%s"`, o2.Token.Content)
    	}
    }
    
    // only postgres, sqlserver, sqlite support update from
    func TestUpdateFrom(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" && DB.Dialector.Name() != "sqlite" && DB.Dialector.Name() != "sqlserver" {
    		return
    	}
    
    	users := []*User{
    		GetUser("update-from-1", Config{Account: true}),
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
Back to top