@@ -34,14 +34,15 @@ public void TearDown()
3434 }
3535
3636 // ad test cases for approved usernames, emails
37- [ Test , TestCaseSource ( typeof ( UserTestCases ) , nameof ( UserTestCases . ValidRegisterCases ) ) ]
37+ [ Test , TestCaseSource ( typeof ( UserTestCases ) , nameof ( UserTestCases . ValidRegisterCases ) ) ]
3838 public async Task Register_success ( string username , string email , string password )
3939 {
4040 var uniqueId = DateTime . UtcNow . ToString ( "yyMMddHHmmssffff" ) ;
4141
4242 string uniqueUsername = username . Length > 0 ? username + uniqueId : "" ;
4343
44- RegisterRequestDTO body = new RegisterRequestDTO {
44+ RegisterRequestDTO body = new RegisterRequestDTO
45+ {
4546 email = $ "{ uniqueId } { email } ",
4647 password = password
4748 } ;
@@ -77,7 +78,7 @@ public async Task Register_Failure(string username, string email, string passwor
7778 email = $ "{ uniqueId } { email } ",
7879 password = password
7980 } ;
80-
81+
8182 var json = JsonSerializer . Serialize ( body ) ;
8283 var requestBody = new StringContent ( json , Encoding . UTF8 , "application/json" ) ;
8384
@@ -186,7 +187,7 @@ public async Task UpdateUserSuccess()
186187 [ Test ]
187188 public async Task UpdateUserNullFieldsOnly ( )
188189 {
189- var fieldsToUpdate = new Dictionary < string , object ? > { } ;
190+ var fieldsToUpdate = new Dictionary < string , object ? > { } ;
190191
191192 var json = JsonSerializer . Serialize ( fieldsToUpdate ) ;
192193 var content = new StringContent ( json , Encoding . UTF8 , "application/json" ) ;
0 commit comments