2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 10:17:17 +08:00

fix: tests

This commit is contained in:
耗子
2024-10-18 02:28:08 +08:00
parent 78543dac67
commit 595f5ba2d9
3 changed files with 3 additions and 3 deletions

View File

@@ -37,7 +37,7 @@ func (suite *NTPTestSuite) TestUpdateSystemTime() {
suite.T().Skip("Skipping on Windows")
}
err := UpdateSystemTime(time.Now())
suite.Error(err) // GitHub action not support
suite.NoError(err)
}
func (suite *NTPTestSuite) TestUpdateSystemTimeZone() {