Skip to content

Commit #1#18

Open
Yunir496 wants to merge 3 commits into
EffectiveMobile:mainfrom
Yunir496:Yuliakshin
Open

Commit #1#18
Yunir496 wants to merge 3 commits into
EffectiveMobile:mainfrom
Yunir496:Yuliakshin

Conversation

@Yunir496

@Yunir496 Yunir496 commented May 7, 2025

Copy link
Copy Markdown

No description provided.

@@ -0,0 +1,8 @@
CREATE TABLE todos (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Нет проверки на существование таблицы
Если миграции будут запускаться повторно (например, в тестах), это может привести к ошибке relation "todos" already exists.
DROP TABLE IF EXISTS todos;

CREATE TABLE todos (
...
);

@SpringBootTest(classes = SpringToDoApplication.class)
@AutoConfigureMockMvc
public class ToDoControllerTest {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Необходимо учесть требования из пункта Тестирование, не все реализовано

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.

3 participants