Tests: Start implementing I am a teacher in course X

1.10.x
Yannick Warnier 10 years ago
parent 0bc4e8fa33
commit 1f76c2a16e
  1. 10
      tests/features/bootstrap/FeatureContext.php

@ -73,6 +73,16 @@ class FeatureContext extends MinkContext
new Given('I press "submitAuth"')
);
}
/**
* @Given /^I am a teacher in course "([^"]*)"$/
* @Todo implement
*/
public function iAmATeacherInCourse($course)
{
//$sql = "SELECT * FROM course_rel_user WHERE c_id = X AND user_id = ";
//$result = ...
//if ($result !== false) { ... }
}
/**
* @Given /^I am a student$/
*/

Loading…
Cancel
Save