Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestStrategy_Validate (0.21 sec)

  1. pkg/registry/apps/controllerrevision/strategy_test.go

    	}
    }
    
    func TestStrategy_AllowCreateOnUpdate(t *testing.T) {
    	if Strategy.AllowCreateOnUpdate() {
    		t.Error("ControllerRevision should not be created on update")
    	}
    }
    
    func TestStrategy_Validate(t *testing.T) {
    	ctx := genericapirequest.NewDefaultContext()
    	var (
    		valid       = newControllerRevision("validname", "validns", newObject(), 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:08 UTC 2017
    - 4.5K bytes
    - Viewed (0)
Back to top