Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for checkOtherData (0.05 seconds)

  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)
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
Back to Top