Browse Source

Clarify password in integration tests

Lode Hoste 10 years ago
parent
commit
4e5c02c05c
3 changed files with 3 additions and 1 deletions
  1. 1 1
      test/h1/config.xml
  2. 1 0
      test/norestart_test.go
  3. 1 0
      test/override_test.go

+ 1 - 1
test/h1/config.xml

@@ -38,7 +38,7 @@
     <gui enabled="true" tls="false">
         <address>127.0.0.1:8081</address>
         <user>testuser</user>
-        <password>$2a$10$7tKL5uvLDGn5s2VLPM2yWOK/II45az0mTel8hxAUJDRQN1Tk2QYwu</password>
+        <password>$2a$10$7tKL5uvLDGn5s2VLPM2yWOK/II45az0mTel8hxAUJDRQN1Tk2QYwu</password><!-- password is testpass -->
         <apikey>abc123</apikey>
     </gui>
     <options>

+ 1 - 0
test/norestart_test.go

@@ -15,6 +15,7 @@ import (
 
 	"github.com/syncthing/protocol"
 	"github.com/syncthing/syncthing/internal/config"
+	"github.com/syncthing/syncthing/internal/osutil"
 	"github.com/syncthing/syncthing/internal/rc"
 )
 

+ 1 - 0
test/override_test.go

@@ -18,6 +18,7 @@ import (
 
 	"github.com/syncthing/protocol"
 	"github.com/syncthing/syncthing/internal/config"
+	"github.com/syncthing/syncthing/internal/osutil"
 	"github.com/syncthing/syncthing/internal/rc"
 )