feat: articles pagination
This commit is contained in:
1 parent
a2d224240c
commit
73f4b539fe
45 files changed
+3528
-317
No files matched your search
@@ -65,13 +65,13 @@ Feature: Use case baseline characterization
|
||||
Then the result is the articles with ids <ids>, and no error
|
||||
|
||||
Examples:
|
||||
| method | ids |
|
||||
| ListOnlineArticles | 1,3 |
|
||||
| ListAllArticles | 1,2,3 |
|
||||
| method | ids |
|
||||
| ListArticlesPage unverified | 1,3 |
|
||||
| ListArticlesPage verified | 1,2,3 |
|
||||
|
||||
Scenario: Listing articles on an empty repository returns an empty slice, not an error
|
||||
Given an empty article repository fake
|
||||
When ListOnlineArticles is called
|
||||
When ListArticlesPage is called
|
||||
Then the result is an empty slice and no error
|
||||
|
||||
Scenario Outline: UpdateArticle delegates each operation to the repository and surfaces not-found for an unknown id
|
||||
|
||||
Reference in new issue
Block a user