Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestFullSaveAssociations (0.17 sec)

  1. tests/associations_test.go

    		t.Fatalf("Should not find deleted member")
    	}
    
    	if err := DB.First(&profile, profile.ID).Error; err == nil {
    		t.Fatalf("Should not find deleted profile")
    	}
    }
    
    func TestFullSaveAssociations(t *testing.T) {
    	coupon := &Coupon{
    		AppliesToProduct: []*CouponProduct{
    			{ProductId: "full-save-association-product1"},
    		},
    		AmountOff:  10,
    		PercentOff: 0.0,
    	}
    
    	err := DB.
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top