forked from forgejo/forgejo
Integration test for activity page (#2704)
* Integration test for activity page * Small code refactoring for acitvity page * Move activity stats calculation logic to model
This commit is contained in:
parent
f3833b7ce4
commit
c7f4f07765
6 changed files with 122 additions and 61 deletions
|
@ -47,6 +47,6 @@ func TestPullCreate(t *testing.T) {
|
|||
prepareTestEnv(t)
|
||||
session := loginUser(t, "user1")
|
||||
testRepoFork(t, session, "user2", "repo1", "user1", "repo1")
|
||||
testEditFile(t, session, "user1", "repo1", "master", "README.md")
|
||||
testEditFile(t, session, "user1", "repo1", "master", "README.md", "Hello, World (Edited)\n")
|
||||
testPullCreate(t, session, "user1", "repo1", "master")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue