Skip to content

Conversation

@NastiaVeret
Copy link
Contributor

dev

JIRA

Code reviewers

  • @github_username

Second Level Review

  • @github_username

Summary of issue

ToDo

Summary of change

ToDo

Testing approach

ToDo

CHECK LIST

  • СI passed
  • Сode coverage >=95%
  • PR is reviewed manually again (to make sure you have 100% ready code)
  • All reviewers agreed to merge the PR
  • I've checked new feature as logged in and logged out user if needed
  • PR meets all conventions

var result = await handler.Handle(new CreateCategoryCommand(testCategoryDTO), CancellationToken.None);

// Assert
// Assert
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove one //Assert comment here

var result = await handler.Handle(new UpdateCategoryCommand(testCategoryDTO), CancellationToken.None);

// Assert
// Assert
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove one //Assert here

// Assert
// Assert
Assert.True(result.IsSuccess);
Assert.Empty(result.Errors); // Перевірка відсутності помилок
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove there Assert comments here, as it is clear what these Asserts do
Also it is better to write comments in English language since it is more common

@NastiaVeret NastiaVeret self-assigned this Apr 6, 2024
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 6, 2024

@vasylashka vasylashka merged commit 793b7c0 into develop Apr 9, 2024
@Michael-Kolpakov Michael-Kolpakov deleted the origin/feature/issue-1306 branch February 17, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants