We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e664df5 commit 484a960Copy full SHA for 484a960
src/tests/category.rs
@@ -172,8 +172,12 @@ fn category_slugs_returns_all_slugs_in_alphabetical_order() {
172
let (_b, app, middle) = ::app();
173
{
174
let conn = app.diesel_database.get().unwrap();
175
- ::new_category("Foo", "foo").create_or_update(&conn).unwrap();
176
- ::new_category("Bar", "bar").create_or_update(&conn).unwrap();
+ ::new_category("Foo", "foo")
+ .create_or_update(&conn)
177
+ .unwrap();
178
+ ::new_category("Bar", "bar")
179
180
181
}
182
183
let mut req = ::req(app, Method::Get, "/api/v1/category_slugs");
0 commit comments