@@ -54,7 +54,6 @@ public function testPathGeneratesCorrectPathForKeyWithoutSeparator(): void
5454 $ reflectionMethod = new \ReflectionMethod (TaggableFileStore::class, 'path ' );
5555
5656 $ store = new TaggableFileStore ($ this ->file , $ this ->path );
57- $ reflectionMethod ->setAccessible (true );
5857 $ path = $ reflectionMethod ->invoke ($ store , 'foobar ' );
5958
6059 $ this ->assertTrue (Str::contains ($ path , $ this ->path ));
@@ -66,7 +65,6 @@ public function testPathGeneratesCorrectPathForKeyWithSeparator(): void
6665 $ reflectionMethod = new \ReflectionMethod (TaggableFileStore::class, 'path ' );
6766
6867 $ store = new TaggableFileStore ($ this ->file , $ this ->path );
69- $ reflectionMethod ->setAccessible (true );
7068 $ path = $ reflectionMethod ->invoke ($ store , 'boofar~#~foobar ' );
7169
7270 $ this ->assertTrue (Str::contains ($ path , $ this ->path ));
@@ -78,7 +76,6 @@ public function testPathGeneratesCorrectPathForKeyWithCustomSeparator(): void
7876 $ reflectionMethod = new \ReflectionMethod (TaggableFileStore::class, 'path ' );
7977
8078 $ store = new TaggableFileStore ($ this ->file , $ this ->path , '~|~ ' );
81- $ reflectionMethod ->setAccessible (true );
8279 $ path = $ reflectionMethod ->invoke ($ store , 'boofar~|~foobar ' );
8380
8481 $ this ->assertTrue (Str::contains ($ path , $ this ->path ));
0 commit comments