"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "wfe2/wfe_test.go" between
boulder-release-2021-07-12.tar.gz and boulder-release-2021-07-19.tar.gz

About: Boulder is an ACME-based Certificate Authority (CA) used by Let’s Encrypt (written in Go).

wfe_test.go  (boulder-release-2021-07-12):wfe_test.go  (boulder-release-2021-07-19)
skipping to change at line 256 skipping to change at line 256
} }
func (ra *MockRegistrationAuthority) OnValidationUpdate(ctx context.Context, aut hz core.Authorization) error { func (ra *MockRegistrationAuthority) OnValidationUpdate(ctx context.Context, aut hz core.Authorization) error {
return nil return nil
} }
func (ra *MockRegistrationAuthority) DeactivateAuthorization(ctx context.Context , authz core.Authorization) error { func (ra *MockRegistrationAuthority) DeactivateAuthorization(ctx context.Context , authz core.Authorization) error {
return nil return nil
} }
func (ra *MockRegistrationAuthority) DeactivateRegistration(ctx context.Context, func (ra *MockRegistrationAuthority) DeactivateRegistration(ctx context.Context,
_ core.Registration) error { _ *corepb.Registration) (*emptypb.Empty, error) {
return nil return &emptypb.Empty{}, nil
} }
func (ra *MockRegistrationAuthority) NewOrder(ctx context.Context, req *rapb.New OrderRequest) (*corepb.Order, error) { func (ra *MockRegistrationAuthority) NewOrder(ctx context.Context, req *rapb.New OrderRequest) (*corepb.Order, error) {
return &corepb.Order{ return &corepb.Order{
Id: 1, Id: 1,
RegistrationID: req.RegistrationID, RegistrationID: req.RegistrationID,
Created: time.Date(2021, 1, 1, 1, 1, 1, 0, time.UTC).Uni xNano(), Created: time.Date(2021, 1, 1, 1, 1, 1, 0, time.UTC).Uni xNano(),
Expires: time.Date(2021, 2, 1, 1, 1, 1, 0, time.UTC).Uni xNano(), Expires: time.Date(2021, 2, 1, 1, 1, 1, 0, time.UTC).Uni xNano(),
Names: req.Names, Names: req.Names,
Status: string(core.StatusPending), Status: string(core.StatusPending),
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)