Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Moudon (0.25 sec)

  1. tests/associations_test.go

    	}
    
    	if DB.First(&CouponProduct{}, "coupon_id = ? AND product_id = ?", coupon.ID, "full-save-association-product1").Error != nil {
    		t.Errorf("Failed to query saved association")
    	}
    
    	orders := []Order{{Num: "order1", Coupon: coupon}, {Num: "order2", Coupon: coupon}}
    	if err := DB.Create(&orders).Error; err != nil {
    		t.Errorf("failed to create orders, got %v", err)
    	}
    
    	coupon2 := Coupon{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
Back to top