Skip to content

Commit e155da8

Browse files
Fix test cases
1 parent 79c206d commit e155da8

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

deps/rabbitmq_management/selenium/test/basic-auth/ac-administrator-without-vhost-permissions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ describe('administrator user without any vhosts permissions', function () {
5252
it('can choose from any available vhost', async function () {
5353
vhosts = await overview.getSelectableVhosts()
5454
assert.ok(vhosts.includes("/"))
55-
assert.ok(vhosts.includes("another"))
5655
assert.ok(vhosts.includes("All"))
5756
})
5857

deps/rabbitmq_management/selenium/test/basic-auth/ac-monitoring-without-vhost-permissions.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ describe('monitoring user without any vhosts permissions', function () {
4545
it('can choose from any available vhost', async function () {
4646
vhosts = await overview.getSelectableVhosts()
4747
assert.ok(vhosts.includes("/"))
48-
assert.ok(vhosts.includes("another"))
4948
assert.ok(vhosts.includes("All"))
5049
})
5150

deps/rabbitmq_management/selenium/test/basic-auth/imports/users.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@
4949
"vhosts": [
5050
{
5151
"name": "/"
52-
},
53-
{
54-
"name": "another"
5552
}
5653
],
5754
"permissions": [

deps/rabbitmq_management/selenium/test/exchanges/management.js

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,23 @@ describe('Exchange management', function () {
3232
})
3333

3434
it('display summary of exchanges', async function () {
35-
assert.equal("All exchanges (7)", await exchanges.getPagingSectionHeaderText())
35+
assert.equal("All exchanges (8)", await exchanges.getPagingSectionHeaderText())
3636
})
3737

3838
it('list all default exchanges', async function () {
3939
actual_table = await exchanges.getExchangesTable(3)
40+
console.log("a :" + actual_table)
4041
expected_table = [
41-
["(AMQP default)", "direct", "D"],
42-
["amq.direct", "direct", "D"],
43-
["amq.fanout", "fanout", "D"],
44-
["amq.headers", "headers", "D"],
45-
["amq.match", "headers", "D"],
46-
["amq.rabbitmq.trace", "topic", "D I"],
47-
["amq.topic", "topic", "D"]
42+
["/", "(AMQP default)", "direct"],
43+
["/", "amq.direct", "direct"],
44+
["/", "amq.fanout", "fanout"],
45+
["/", "amq.headers", "headers"],
46+
["/", "amq.match", "headers"],
47+
["/", "amq.rabbitmq.event", "topic"],
48+
["/", "amq.rabbitmq.trace", "topic"],
49+
["/", "amq.topic", "topic"]
4850
]
51+
console.log("e :" + actual_table)
4952
assert.deepEqual(actual_table, expected_table)
5053
})
5154

0 commit comments

Comments
 (0)