satellite/console: verify limits while test
Additional test case to be sure that update operation went well. Change-Id: I7dbf1e3110f716712ba9747a1915b54112b89801
This commit is contained in:
parent
01287913ec
commit
95750b9d32
@ -149,6 +149,11 @@ func TestService(t *testing.T) {
|
|||||||
require.NotNil(t, updatedProject.BandwidthLimit)
|
require.NotNil(t, updatedProject.BandwidthLimit)
|
||||||
require.Equal(t, updateInfo.StorageLimit, *updatedProject.StorageLimit)
|
require.Equal(t, updateInfo.StorageLimit, *updatedProject.StorageLimit)
|
||||||
require.Equal(t, updateInfo.BandwidthLimit, *updatedProject.BandwidthLimit)
|
require.Equal(t, updateInfo.BandwidthLimit, *updatedProject.BandwidthLimit)
|
||||||
|
|
||||||
|
project, err := service.GetProject(authCtx1, up1Pro1.ID)
|
||||||
|
require.NoError(t, err)
|
||||||
|
require.Equal(t, updateInfo.StorageLimit, *project.StorageLimit)
|
||||||
|
require.Equal(t, updateInfo.BandwidthLimit, *project.BandwidthLimit)
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("TestAddProjectMembers", func(t *testing.T) {
|
t.Run("TestAddProjectMembers", func(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user