@@ -49,10 +49,10 @@ public function replication_it_returns_the_channel_information()
49
49
50
50
$ this ->getPublishClient ()
51
51
->assertCalled ('hset ' )
52
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-channel ' ])
52
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-channel ' ])
53
53
->assertCalled ('publish ' )
54
54
->assertCalled ('multi ' )
55
- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-channel ' ])
55
+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-channel ' ])
56
56
->assertCalled ('exec ' );
57
57
}
58
58
@@ -89,14 +89,14 @@ public function replication_it_returns_the_channel_information_for_prefix()
89
89
90
90
$ this ->getPublishClient ()
91
91
->assertCalled ('hset ' )
92
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-global.1 ' ])
93
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-global.2 ' ])
94
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-notglobal.2 ' ])
92
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-global.1 ' ])
93
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-global.2 ' ])
94
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-notglobal.2 ' ])
95
95
->assertCalled ('publish ' )
96
96
->assertCalled ('multi ' )
97
- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-global.1 ' ])
98
- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-global.2 ' ])
99
- ->assertNotCalledWithArgs ('hlen ' , ['1234 :presence-notglobal.2 ' ])
97
+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-global.1 ' ])
98
+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-global.2 ' ])
99
+ ->assertNotCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-notglobal.2 ' ])
100
100
->assertCalled ('exec ' );
101
101
}
102
102
@@ -134,14 +134,14 @@ public function replication_it_returns_the_channel_information_for_prefix_with_u
134
134
135
135
$ this ->getPublishClient ()
136
136
->assertCalled ('hset ' )
137
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-global.1 ' ])
138
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-global.2 ' ])
139
- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-notglobal.2 ' ])
137
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-global.1 ' ])
138
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-global.2 ' ])
139
+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-notglobal.2 ' ])
140
140
->assertCalled ('publish ' )
141
141
->assertCalled ('multi ' )
142
- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-global.1 ' ])
143
- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-global.2 ' ])
144
- ->assertNotCalledWithArgs ('hlen ' , ['1234 :presence-notglobal.2 ' ])
142
+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-global.1 ' ])
143
+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-global.2 ' ])
144
+ ->assertNotCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-notglobal.2 ' ])
145
145
->assertCalled ('exec ' );
146
146
}
147
147
0 commit comments