-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpest-report.txt
133 lines (114 loc) · 17.1 KB
/
pest-report.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
PASS Tests\Unit\ExampleTest
Ô£ô that true is true 0.19s
PASS Tests\Feature\AdminAuthControllerTest
Ô£ô admin pode realizar login com credenciais v├ílidas 13.76s
Ô£ô login falha com credenciais inv├ílidas 0.44s
Ô£ô valida├º├úo de campos de login falha com dados ausentes 0.33s
Ô£ô admin pode realizar logout com sucesso 0.40s
Ô£ô logout falha se o admin n├úo estiver autenticado 0.25s
PASS Tests\Feature\AdminOrderControllerTest
Ô£ô it retorna a lista de categorias com contagem de produtos 0.36s
Ô£ô it cria uma categoria com sucesso 0.27s
Ô£ô it retorna erro ao tentar criar uma categoria duplicada 0.20s
Ô£ô it retorna uma categoria espec├¡fica por ID 0.20s
Ô£ô it retorna erro ao tentar procurar uma categoria inexistente 0.22s
Ô£ô it atualiza uma categoria com sucesso 0.88s
Ô£ô it elimina uma categoria existente com sucesso 0.29s
Ô£ô it retorna erro ao tentar eliminar uma categoria inexistente 0.31s
Ô£ô it retorna estat├¡sticas do dashboard 0.57s
Ô£ô it retorna produtos vendidos por categoria 0.29s
Ô£ô it retorna vendas mensais agrupadas por dia 0.31s
Ô£ô it retorna dados de plantas por dia 0.31s
Ô£ô it retorna todos os tickets de suporte 0.30s
Ô£ô it atualiza um ticket de suporte com sucesso 0.37s
Ô£ô it apagar um ticket de suporte com sucesso 0.33s
PASS Tests\Feature\AuthControllerTest
Ô£ô it regista um novo usu├írio com sucesso 0.36s
Ô£ô it retorna erro ao tentar registrar com email duplicado 0.22s
Ô£ô it realiza login com credenciais v├ílidas 0.21s
Ô£ô it retorna erro ao realizar login com credenciais inv├ílidas 0.40s
Ô£ô it realiza logout com sucesso 0.23s
PASS Tests\Feature\BlogPostControllerTest
Ô£ô it retorna uma lista de posts 0.26s
Ô£ô it retorna detalhes de um post espec├¡fico 0.23s
Ô£ô it retorna erro ao procurar post inexistente 0.21s
Ô£ô it retorna erro ao criar post sem autentica├º├úo 0.20s
Ô£ô it retorna erro ao atualizar post inexistente 0.21s
Ô£ô it exclui um post existente com sucesso 0.20s
Ô£ô it retorna erro ao excluir post inexistente 0.20s
PASS Tests\Feature\CommentControllerTest
Ô£ô it cria um novo coment├írio com sucesso 0.29s
Ô£ô it retorna os coment├írios de um post com sucesso 0.42s
PASS Tests\Feature\ContactControllerTest
Ô£ô it cria um ticket de suporte com sucesso 0.39s
Ô£ô it retorna erro ao tentar criar ticket sem estar autenticado 0.38s
Ô£ô it retorna erro ao criar ticket com dados inv├ílidos 0.29s
PASS Tests\Feature\DashboardPlantControllerTest
Ô£ô it retorna as plantas associadas ao utilizador 0.41s
Ô£ô it can get user plants with kits 0.38s
Ô£ô it returns 404 if plant not found by ID 0.42s
PASS Tests\Feature\ExampleTest
Ô£ô the application returns a successful response 0.69s
PASS Tests\Feature\LocationControllerTest
Ô£ô it can get all locations 0.24s
Ô£ô it can show a specific location 0.21s
Ô£ô it returns 404 when trying to show a non-existent location 0.33s
Ô£ô it can store a new location 0.37s
Ô£ô it can update an existing location 0.33s
Ô£ô it returns 404 when trying to update a non-existent location 0.19s
Ô£ô it can delete an existing location 0.21s
Ô£ô it returns 404 when trying to delete a non-existent location 0.19s
PASS Tests\Feature\NotificationControllerTest
Ô£ô it returns notifications for authenticated user 0.21s
Ô£ô it returns 401 when user is not authenticated 0.18s
 it returns 401 when non-admin user tries to access admin notificati 0.19s
Ô£ô it returns notifications for specific user 0.24s
Ô£ô it marks notification as read 0.20s
PASS Tests\Feature\OrderControllerTest
Ô£ô it creates a new order successfully 0.25s
Ô£ô it updates order status successfully 0.23s
Ô£ô it returns purchase history for a user 0.42s
Ô£ô it returns 404 when trying to update status of non-existent order 0.36s
PASS Tests\Feature\PlantInformacaoControllerTest
 it returns plant information for a specific user plant when user_pl 0.35s
 it returns 404 when plant is not found with the provided user_plant 0.39s
Ô£ô it returns all user plants if no user_plant_id is provided 0.43s
PASS Tests\Feature\PlantKitControllerTest
Ô£ô it checks if a kit code is available 0.36s
Ô£ô it updates the name of a kit 0.43s
PASS Tests\Feature\ProductControllerTest
Ô£ô it retrieves the latest products 0.41s
Ô£ô it retrieves the best-selling products 0.41s
Ô£ô it retrieves popular products 0.41s
Ô£ô it retrieves filtered products with categories 0.23s
Ô£ô it retrieves a product by its ID 0.20s
Ô£ô it deletes a product by its ID 0.21s
Ô£ô it creates a new product 0.22s
Ô£ô it updates a product 0.20s
PASS Tests\Feature\QuizControllerTest
Ô£ô it submits quiz responses and retrieves compatible plants 0.59s
Ô£ô it returns an error when responses are invalid 0.20s
Ô£ô it returns an error when the external API fails 0.23s
PASS Tests\Feature\UserControllerTest
Ô£ô it updates the user profile with valid data 0.23s
Ô£ô it returns error when email is already taken 0.25s
Ô£ô it returns error when password is too short 0.24s
Ô£ô it retrieves the authenticated user profile 0.27s
Ô£ô it returns error if user is not authenticated 0.33s
Ô£ô it updates the newsletter subscription 0.42s
Ô£ô it returns error when invalid newsletter value is provided 0.45s
Ô£ô it updates the user profile picture with a valid base64 image 0.37s
Ô£ô it returns error when the image format is invalid 0.27s
PASS Tests\Feature\UserDetailsControllerTest
Ô£ô it retrieves user details successfully 0.31s
Ô£ô it returns error when user details are not found 0.35s
Ô£ô it updates user details successfully 0.39s
Ô£ô it returns error when username is already taken 0.23s
Ô£ô it returns error when email is already taken 0.22s
Ô£ô it updates password successfully 0.21s
Ô£ô it returns error when current password is incorrect 0.21s
Ô£ô it retrieves user tickets successfully 0.23s
Ô£ô it returns error when user has no tickets 0.30s
Tests: 93 passed (515 assertions)
Duration: 48.09s