This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix migration tests since
#7
fixed (
#7375
)
* fix migration tests since
#7
fixed * fix test time
for-closed-social
Lunny Xiao
5 years ago
committed by
Lauris BH
parent
5f8f42e274
commit
427a161c67
1 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
modules/migrations/github_test.go
+ 4
- 2
modules/migrations/github_test.go
View File
@ -174,6 +174,7 @@ func TestGitHubDownloadRepo(t *testing.T) {
var
(
closed1
=
time
.
Date
(
2018
,
10
,
23
,
02
,
57
,
43
,
0
,
time
.
UTC
)
closed7
=
time
.
Date
(
2019
,
7
,
8
,
8
,
20
,
23
,
0
,
time
.
UTC
)
)
assert
.
EqualValues
(
t
,
[
]
*
base
.
Issue
{
{
@ -210,10 +211,10 @@ func TestGitHubDownloadRepo(t *testing.T) {
Number
:
7
,
Title
:
"display page revisions on wiki"
,
Content
:
"Hi guys,\r\n\r\nWiki on Gogs is very fine, I liked a lot, but I think that is good idea to be possible see other revisions from page as a page history.\r\n\r\nWhat you think?\r\n\r\nReference: https://github.com/gogits/gogs/issues/2991"
,
Milestone
:
"1.
x.x
"
,
Milestone
:
"1.
10.0
"
,
PosterID
:
1520407
,
PosterName
:
"joubertredrat"
,
State
:
"
open
"
,
State
:
"
closed
"
,
Created
:
time
.
Date
(
2016
,
11
,
02
,
18
,
57
,
32
,
0
,
time
.
UTC
)
,
Labels
:
[
]
*
base
.
Label
{
{
@ -235,6 +236,7 @@ func TestGitHubDownloadRepo(t *testing.T) {
Heart
:
0
,
Hooray
:
0
,
}
,
Closed
:
&
closed7
,
}
,
{
Number
:
8
,
Write
Preview
Loading…
Cancel
Save