@@ -49,10 +49,10 @@ public function replication_it_returns_the_channel_information()
4949
5050 $ this ->getPublishClient ()
5151 ->assertCalled ('hset ' )
52- ->assertCalledWithArgs ('hgetall ' , ['1234 :presence-channel ' ])
52+ ->assertCalledWithArgs ('hgetall ' , ['laravel_database_1234 :presence-channel ' ])
5353 ->assertCalled ('publish ' )
5454 ->assertCalled ('multi ' )
55- ->assertCalledWithArgs ('hlen ' , ['1234 :presence-channel ' ])
55+ ->assertCalledWithArgs ('hlen ' , ['laravel_database_1234 :presence-channel ' ])
5656 ->assertCalled ('exec ' );
5757 }
5858
@@ -89,14 +89,14 @@ public function replication_it_returns_the_channel_information_for_prefix()
8989
9090 $ this ->getPublishClient ()
9191 ->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 ' ])
9595 ->assertCalled ('publish ' )
9696 ->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 ' ])
100100 ->assertCalled ('exec ' );
101101 }
102102
@@ -134,14 +134,14 @@ public function replication_it_returns_the_channel_information_for_prefix_with_u
134134
135135 $ this ->getPublishClient ()
136136 ->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 ' ])
140140 ->assertCalled ('publish ' )
141141 ->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 ' ])
145145 ->assertCalled ('exec ' );
146146 }
147147
0 commit comments