Created
July 30, 2015 18:28
-
-
Save ahalbert/712bc353adb46d2972cf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class PlanDatesTest extends PHPUnit_Framework_TestCase | |
| { | |
| public function testDateDisplay() { | |
| $this->assertEquals(PlanDates::dateDisplay(1438198178), "July 29, 2015"); | |
| $this->assertEquals(PlanDates::dateDisplay("2015-03-7"), "March 7, 2015"); | |
| } | |
| public function testYearStart() { | |
| $this->getMock('Util', array("isGrad")); | |
| $this->expects($this->any()) | |
| ->method('isGrad') | |
| ->will($this->returnValue(true)); | |
| echo PlanDates::planYearStart(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment