Skip to content

Commit

Permalink
Update epv_test_validate_event_names.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paul999 authored Jul 25, 2016
1 parent 583d7e4 commit 70af9aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Tests/Tests/epv_test_validate_event_names.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public function validateDirectory(array $dirList)
}

$events = $exporter->get_events();
$vendor = strtolower(str_replace('/', '.', $this->namespace)) + '.'; // event names are requierd to be lowercase!
// event names are requierd to be lowercase
// event names should end with a dot to seperate the vendor.name and the actual event name.
$vendor = strtolower(str_replace('/', '.', $this->namespace)) + '.';

foreach ($events as $event)
{
Expand All @@ -67,6 +69,6 @@ public function validateDirectory(array $dirList)

public function testName()
{
return "Validate directory structure";
return "test even names";
}
}

0 comments on commit 70af9aa

Please sign in to comment.