Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkOtherData (0.14 sec)

  1. tests/update_test.go

    		if n.UnixNano() == lastUpdatedAt.UnixNano() {
    			t.Errorf("%v: user's updated at should be changed, but got %v, was %v", name, n, lastUpdatedAt)
    		}
    		lastUpdatedAt = n
    	}
    
    	checkOtherData := func(name string) {
    		var first, last User
    		if err := DB.Where("id = ?", users[0].ID).First(&first).Error; err != nil {
    			t.Errorf("errors happened when query before user: %v", err)
    		}
    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