1919 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2020 */
2121
22- namespace WikibaseSolutions \CypherDSL \Tests \Unit \ErrorHandling ;
22+ namespace WikibaseSolutions \CypherDSL \Tests \Unit \Traits ;
2323
2424use TypeError ;
2525use PHPUnit \Framework \TestCase ;
@@ -93,13 +93,13 @@ public function failingAssertionsProvider() {
9393
9494 public function testGetTypeErrorText () {
9595 $ this ->assertEquals (
96- '$foo should be a WikibaseSolutions\CypherDSL\Tests\Unit\ErrorHandling \ErrorHelperDummyA object, integer "5" given. ' ,
96+ '$foo should be a WikibaseSolutions\CypherDSL\Tests\Unit\Traits \ErrorHelperDummyA object, integer "5" given. ' ,
9797 $ this ->errorImpl ->call ('getTypeErrorText ' , ['foo ' , [ErrorHelperDummyA::class], 5 ])
9898 );
9999 $ this ->assertEquals (
100100 '$foo should be a ' .
101- 'WikibaseSolutions\CypherDSL\Tests\Unit\ErrorHandling \ErrorHelperDummyA or ' .
102- 'WikibaseSolutions\CypherDSL\Tests\Unit\ErrorHandling \ErrorHelperDummyB object, integer "5" given. ' ,
101+ 'WikibaseSolutions\CypherDSL\Tests\Unit\Traits \ErrorHelperDummyA or ' .
102+ 'WikibaseSolutions\CypherDSL\Tests\Unit\Traits \ErrorHelperDummyB object, integer "5" given. ' ,
103103 $ this ->errorImpl ->call ('getTypeErrorText ' , ['foo ' , [ErrorHelperDummyA::class, ErrorHelperDummyB::class], 5 ])
104104 );
105105 }
@@ -122,7 +122,7 @@ public function getUserInputInfoProvider() {
122122 [ 'boolean "1" ' , true ],
123123 [ 'array ' , ['foo ' , 'bar ' ] ],
124124 [ 'anonymous class instance ' , new class (){} ],
125- [ 'WikibaseSolutions\CypherDSL\Tests\Unit\ErrorHandling \ErrorHelperDummyA ' , new ErrorHelperDummyA ()]
125+ [ 'WikibaseSolutions\CypherDSL\Tests\Unit\Traits \ErrorHelperDummyA ' , new ErrorHelperDummyA ()]
126126 ];
127127 }
128128}
0 commit comments