ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilBuddySystemBaseStateTest.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2015 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 {
10  const RELATION_OWNER_ID = -1;
11  const RELATION_BUDDY_ID = -2;
12 
16  protected $backupGlobals = false;
17 
21  protected $relation;
22 
26  public function setUp()
27  {
28  $this->relation = new ilBuddySystemRelation($this->getInitialState());
29  $this->relation->setUserId(self::RELATION_OWNER_ID);
30  $this->relation->setBuddyUserId(self::RELATION_BUDDY_ID);
31  }
32 
36  abstract function getInitialState();
37 }
Class ilBuddySystemBaseStateTest.
Class ilBuddySystemRelation.