Fix Reusable typo, add tests for Augustines scenario

This commit is contained in:
Kristoffer Dalby 2021-11-08 20:49:03 +00:00
parent 6371135459
commit 0803c407a9
5 changed files with 103 additions and 4 deletions

View file

@ -269,6 +269,7 @@ func (s *IntegrationTestSuite) SetupSuite() {
var preAuthKey v1.PreAuthKey
err = json.Unmarshal([]byte(preAuthResult), &preAuthKey)
assert.Nil(s.T(), err)
assert.True(s.T(), preAuthKey.Reusable)
headscaleEndpoint := "http://headscale:8080"