Skip to content

Commit 4deafd4

Browse files
committed
fix test
1 parent c6cdcfb commit 4deafd4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tests/config/base.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
'reconnect.passwordHandler' => function () {
3232
return 'php-crud-api';
3333
},
34-
'reconnect.mappingHandler' => function () {
35-
return ['abc_posts.abc_id' => 'posts.id', 'abc_posts.abc_user_id' => 'posts.user_id', 'abc_posts.abc_category_id' => 'posts.category_id', 'abc_posts.abc_content' => 'posts.content'];
36-
},
3734
'authorization.tableHandler' => function ($operation, $tableName) {
3835
return !($tableName == 'invisibles' && !isset($_SESSION['claims']['name']) && empty($_SESSION['username']) && empty($_SESSION['user']) && empty($_SESSION['apiKey']) && empty($_SESSION['apiUser']));
3936
},

tests/functional/003_columns/019_update_posts_table.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Content-Length: 257
1919
===
2020
PUT /columns/posts2
2121

22-
{"name":"posts"}
22+
{"name":"abc_posts","alias":"posts"}
2323
===
2424
200
2525
Content-Type: application/json; charset=utf-8

0 commit comments

Comments
 (0)