Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pkirilin committed Jan 5, 2024
1 parent c56284e commit c66ee55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public string FormatValue(object value, IValueFormattingService formattingServic
throw new FormatterNotRegisteredException(value);
}

return $"{product.Name} ({product.Category?.Name})";
return product.Name;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ public async Task When_user_creates_note(Note note)
_createNoteResponse = await ApiClient.PostAsJsonAsync("/api/v1/notes", request);
}

public async Task When_user_updates_product_with_quantity_for_note(Note note, Product newProduct, int newQuantity)
public async Task When_user_updates_product_with_quantity_for_note(Note note, Product product, int quantity)
{
var request = Create.NoteCreateEditRequest()
.From(note)
.WithProduct(newProduct)
.WithProductQuantity(newQuantity)
.WithProduct(product)
.WithProductQuantity(quantity)
.Please();
_updateNoteResponse = await ApiClient.PutAsJsonAsync($"/api/v1/notes/{note.Id}", request);
}
Expand Down

0 comments on commit c66ee55

Please sign in to comment.