19
19
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20
20
*/
21
21
22
- namespace WikibaseSolutions \CypherDSL \Tests \Unit \ErrorHandling ;
22
+ namespace WikibaseSolutions \CypherDSL \Tests \Unit \Traits ;
23
23
24
24
use TypeError ;
25
25
use PHPUnit \Framework \TestCase ;
@@ -93,13 +93,13 @@ public function failingAssertionsProvider() {
93
93
94
94
public function testGetTypeErrorText () {
95
95
$ 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. ' ,
97
97
$ this ->errorImpl ->call ('getTypeErrorText ' , ['foo ' , [ErrorHelperDummyA::class], 5 ])
98
98
);
99
99
$ this ->assertEquals (
100
100
'$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. ' ,
103
103
$ this ->errorImpl ->call ('getTypeErrorText ' , ['foo ' , [ErrorHelperDummyA::class, ErrorHelperDummyB::class], 5 ])
104
104
);
105
105
}
@@ -122,7 +122,7 @@ public function getUserInputInfoProvider() {
122
122
[ 'boolean "1" ' , true ],
123
123
[ 'array ' , ['foo ' , 'bar ' ] ],
124
124
[ 'anonymous class instance ' , new class (){} ],
125
- [ 'WikibaseSolutions\CypherDSL\Tests\Unit\ErrorHandling \ErrorHelperDummyA ' , new ErrorHelperDummyA ()]
125
+ [ 'WikibaseSolutions\CypherDSL\Tests\Unit\Traits \ErrorHelperDummyA ' , new ErrorHelperDummyA ()]
126
126
];
127
127
}
128
128
}
0 commit comments