@@ -65,24 +65,24 @@ public function testGetPrimaryKeyParam(): void {
6565 $ this ->assertEquals ([], $ query ->getShardKeys ());
6666 }
6767
68+ #[\PHPUnit \Framework \Attributes \DoesNotPerformAssertions]
6869 public function testValidateWithShardKey (): void {
6970 $ query = $ this ->getQueryBuilder ('filecache ' , 'storage ' , 'fileid ' );
7071 $ query ->select ('fileid ' , 'path ' )
7172 ->from ('filecache ' )
7273 ->where ($ query ->expr ()->eq ('storage ' , $ query ->createNamedParameter (10 )));
7374
7475 $ query ->validate ();
75- $ this ->assertTrue (true );
7676 }
7777
78+ #[\PHPUnit \Framework \Attributes \DoesNotPerformAssertions]
7879 public function testValidateWithPrimaryKey (): void {
7980 $ query = $ this ->getQueryBuilder ('filecache ' , 'storage ' , 'fileid ' );
8081 $ query ->select ('fileid ' , 'path ' )
8182 ->from ('filecache ' )
8283 ->where ($ query ->expr ()->in ('fileid ' , $ query ->createNamedParameter ([10 , 11 ], IQueryBuilder::PARAM_INT )));
8384
8485 $ query ->validate ();
85- $ this ->assertTrue (true );
8686 }
8787
8888 public function testValidateWithNoKey (): void {
@@ -96,14 +96,14 @@ public function testValidateWithNoKey(): void {
9696 $ this ->fail ('exception expected ' );
9797 }
9898
99+ #[\PHPUnit \Framework \Attributes \DoesNotPerformAssertions]
99100 public function testValidateNonSharedTable (): void {
100101 $ query = $ this ->getQueryBuilder ('filecache ' , 'storage ' , 'fileid ' );
101102 $ query ->select ('configvalue ' )
102103 ->from ('appconfig ' )
103104 ->where ($ query ->expr ()->eq ('configkey ' , $ query ->createNamedParameter ('test ' )));
104105
105106 $ query ->validate ();
106- $ this ->assertTrue (true );
107107 }
108108
109109 public function testGetShardKeyMultipleSingleParam (): void {
0 commit comments