版本号
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using Jiaowu.Api.Controllers;
|
||||
|
||||
namespace Jiaowu.Api.Tests;
|
||||
|
||||
public sealed class SystemControllerTests
|
||||
{
|
||||
[Fact]
|
||||
public void GetVersion_ReturnsConfiguredApplicationVersion()
|
||||
{
|
||||
var response = new SystemController().GetVersion();
|
||||
|
||||
Assert.Equal("1.0.0", response.Version);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user