diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2021-12-02 23:24:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 23:24:02 +0100 |
commit | 87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8 (patch) | |
tree | a19e92eb59bef741cd434d829264d69e2dd3e16e /services/migrations/main_test.go | |
parent | 957c3fcb5949b3f7ee348d3f7f609826cedb0e8b (diff) | |
download | gitea-87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8.tar.gz gitea-87be76213a42ab03e7f5fa9fa7d85b0f270f7cf8.zip |
Add migrate from Codebase (#16768)
This PR adds [Codebase](https://www.codebasehq.com/) as migration source.
Supported:
- Milestones
- Issues
- Pull Requests
- Comments
- Labels
Diffstat (limited to 'services/migrations/main_test.go')
-rw-r--r-- | services/migrations/main_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/migrations/main_test.go b/services/migrations/main_test.go index 660f6dd845..ddf73df98e 100644 --- a/services/migrations/main_test.go +++ b/services/migrations/main_test.go @@ -32,6 +32,7 @@ func assertTimePtrEqual(t *testing.T, expected, actual *time.Time) { if expected == nil { assert.Nil(t, actual) } else { + assert.NotNil(t, actual) assertTimeEqual(t, *expected, *actual) } } |