We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78f6686 commit 82f29aeCopy full SHA for 82f29ae
test/test_migration.py
@@ -60,8 +60,11 @@ def test_migration() -> None:
60
u = json_config["users"]["admin"]
61
assert "sonar-users" in u["groups"]
62
assert u["local"] and u["active"]
63
- assert "sonarQubeLastConnectionDate" in u
64
- assert "sonarLintLastConnectionDate" in u
+ if util.SQ.version() >= (10, 0, 0):
+ assert "sonarQubeLastConnectionDate" in u
65
+ assert "sonarLintLastConnectionDate" in u
66
+ else:
67
+ assert "lastConnectionDate" in u
68
assert json_config["users"]["olivier"]["externalProvider"] == "sonarqube"
69
70
u = json_config["users"]["olivier-korach65532"]
0 commit comments