This commit is contained in:
wess
2023-04-18 10:41:55 -04:00
parent ca4ba65291
commit b310aea08e
2 changed files with 8 additions and 3 deletions
Generated
+4 -3
View File
@@ -3407,6 +3407,7 @@
"ircmaxell/php-yacc": "^0.0.7",
"phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0"
},
"default-branch": true,
"bin": [
"bin/php-parse"
],
@@ -5587,12 +5588,12 @@
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
"reference": "a6e0510cc793912b451fd40ab983a1d28f611c15"
"reference": "6ddd95c7096220acfd9d6db1ed3e7de89a27e698"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/a6e0510cc793912b451fd40ab983a1d28f611c15",
"reference": "a6e0510cc793912b451fd40ab983a1d28f611c15",
"url": "https://api.github.com/repos/twigphp/Twig/zipball/6ddd95c7096220acfd9d6db1ed3e7de89a27e698",
"reference": "6ddd95c7096220acfd9d6db1ed3e7de89a27e698",
"shasum": ""
},
"require": {
@@ -81,6 +81,10 @@ class DatabasesCustomClientTest extends Scope
]
]);
var_dump("\n###############################\n");
var_dump($document1);
var_dump("\n###############################\n");
$this->assertNotContains(Permission::create(Role::user($this->getUser()['$id'])), $document1['body']['$permissions']);
$this->assertContains(Permission::update(Role::user($this->getUser()['$id'])), $document1['body']['$permissions']);
$this->assertContains(Permission::delete(Role::user($this->getUser()['$id'])), $document1['body']['$permissions']);