File tree 2 files changed +6
-0
lines changed
OpenApiKiotaEndToEndTests/ModelStateValidation
OpenApiNSwagEndToEndTests/ModelStateValidation
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -545,16 +545,19 @@ public async Task Can_create_resource_with_valid_properties()
545
545
Type = SocialMediaAccountResourceType . SocialMediaAccounts ,
546
546
Attributes = new SocialMediaAccountAttributesInPostRequest
547
547
{
548
+ AlternativeId = newAccount . AlternativeId ,
548
549
FirstName = newAccount . FirstName ,
549
550
LastName = newAccount . LastName ,
550
551
UserName = newAccount . UserName ,
551
552
CreditCard = newAccount . CreditCard ,
552
553
Email = newAccount . Email ,
554
+ Password = newAccount . Password ,
553
555
Phone = newAccount . Phone ,
554
556
Age = newAccount . Age ,
555
557
ProfilePicture = newAccount . ProfilePicture ! . ToString ( ) ,
556
558
BackgroundPicture = newAccount . BackgroundPicture ,
557
559
Tags = newAccount . Tags ,
560
+ CountryCode = newAccount . CountryCode ,
558
561
Planet = newAccount . Planet ,
559
562
NextRevalidation = newAccount . NextRevalidation ! . Value . ToString ( ) ,
560
563
ValidatedAt = newAccount . ValidatedAt ! ,
Original file line number Diff line number Diff line change @@ -495,16 +495,19 @@ public async Task Can_create_resource_with_valid_properties()
495
495
{
496
496
Attributes = new SocialMediaAccountAttributesInPostRequest
497
497
{
498
+ AlternativeId = newAccount . AlternativeId ,
498
499
FirstName = newAccount . FirstName ,
499
500
LastName = newAccount . LastName ,
500
501
UserName = newAccount . UserName ,
501
502
CreditCard = newAccount . CreditCard ,
502
503
Email = newAccount . Email ,
504
+ Password = newAccount . Password ,
503
505
Phone = newAccount . Phone ,
504
506
Age = newAccount . Age ,
505
507
ProfilePicture = newAccount . ProfilePicture ,
506
508
BackgroundPicture = new Uri ( newAccount . BackgroundPicture ! ) ,
507
509
Tags = newAccount . Tags ,
510
+ CountryCode = newAccount . CountryCode ,
508
511
Planet = newAccount . Planet ,
509
512
NextRevalidation = newAccount . NextRevalidation ! . Value . ToString ( ) ,
510
513
ValidatedAt = newAccount . ValidatedAt ! ,
You can’t perform that action at this time.
0 commit comments