Skip to content

Commit

Permalink
added a test skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
esokullu committed Aug 29, 2018
1 parent 792d153 commit 47dd568
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"monolog/monolog": "^1.22",
"zendframework/zend-config": "*",
"pimple/pimple": "^1.1",
"phonetworks/pho-lib-graph": "^7.1",
"phonetworks/pho-lib-graph": "^7.3",
"phonetworks/pho-framework": "^10.0",
"webmozart/assert": "^1.2",
"danielstjules/stringy": "^3.0",
Expand Down
12 changes: 12 additions & 0 deletions tests/Pho/Kernel/EdgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,16 @@ public function testEdgeAttributePersistence() {
$this->assertEquals($like_content, $like_recreated->attributes()->content);
}

/*
* @todo implement this
* // check for permissions
public function testEdgeProperEdit() {
$this->flushDBandRestart();
$user = new \PhoNetworksAutogenerated\User($this->kernel, $this->graph, "123456");
$content = $this->kernel->founder()->post("emre sokullu");
$edge = $content->edges()->in()->current();
eval(\Psy\sh());
}
*/

}

0 comments on commit 47dd568

Please sign in to comment.