Peel and finely chop the onion and garlic. Wash and dice the eggplant and zucchini. Briefly sauté the vegetables in oil, then stir in the tomatoes. Add the beans with the liquid. Cook in the pressure cooker for about 3 minutes, otherwise it takes 10-15 minutes. Finally season to taste.