mirror of
https://github.com/therealpaulgg/ssh-sync-server.git
synced 2026-04-25 15:45:49 +03:00
[PR #8] [MERGED] Unit tests #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ssh-sync-server#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/therealpaulgg/ssh-sync-server/pull/8
Author: @therealpaulgg
Created: 5/17/2023
Status: ✅ Merged
Merged: 6/22/2023
Merged by: @therealpaulgg
Base:
main← Head:unit-tests📝 Commits (10+)
68b9a51write first unit test1eadc1aadd POST unit test634eb14new mock version fixed genericsc520382add test requirementded27dbadd coverage27084b0failacc767auser tests7c8978ecode coverage74b0a07user repositoryfb6de38machine repository📊 Changes
42 files changed (+2839 additions, -502 deletions)
View changed files
📝
.vscode/launch.json(+1 -1)📝
Dockerfile(+1 -0)📝
go.mod(+12 -6)📝
go.sum(+62 -0)📝
internal/setup/main.go(+17 -0)➕
pkg/database/mock.go(+63 -0)📝
pkg/database/models/machine.go(+0 -109)📝
pkg/database/models/ssh_config.go(+0 -59)📝
pkg/database/models/ssh_key.go(+0 -42)📝
pkg/database/models/user.go(+0 -181)➕
pkg/database/query/mock.go(+93 -0)📝
pkg/database/query/transaction.go(+21 -14)➕
pkg/database/query/transactionmock.go(+160 -0)➕
pkg/database/repository/machine.go(+121 -0)➕
pkg/database/repository/machine_test.go(+3 -0)➕
pkg/database/repository/machinemock.go(+126 -0)➕
pkg/database/repository/ssh_config.go(+57 -0)➕
pkg/database/repository/ssh_config_mock.go(+82 -0)➕
pkg/database/repository/ssh_config_test.go(+3 -0)➕
pkg/database/repository/ssh_key.go(+46 -0)...and 22 more files
📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.