mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
fix: tests
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user