You've already forked nginx-proxy-manager
							
							
				mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-30 18:05:34 +03:00 
			
		
		
		
	Fix cypress tests following user wizard changes
This commit is contained in:
		| @@ -9,7 +9,7 @@ import internalAuditLog from "./audit-log.js"; | ||||
| import internalToken from "./token.js"; | ||||
|  | ||||
| const omissions = () => { | ||||
| 	return ["is_deleted"]; | ||||
| 	return ["is_deleted", "permissions.id", "permissions.user_id", "permissions.created_on", "permissions.modified_on"]; | ||||
| }; | ||||
|  | ||||
| const DEFAULT_AVATAR = gravatar.url("admin@example.com", { default: "mm" }); | ||||
| @@ -250,6 +250,14 @@ const internalUser = { | ||||
| 			}); | ||||
| 	}, | ||||
|  | ||||
| 	deleteAll: async () => { | ||||
| 		await userModel | ||||
| 			.query() | ||||
| 			.patch({ | ||||
| 				is_deleted: 1, | ||||
| 			}); | ||||
| 	}, | ||||
|  | ||||
| 	/** | ||||
| 	 * This will only count the users | ||||
| 	 * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user