mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 23:11:28 +00:00
Unit test documentation - general.
This commit is contained in:
parent
c956700c9c
commit
417fe40c7f
@ -1,9 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* PHP version 7
|
||||
*
|
||||
* @category PHP_Unit
|
||||
* @package Drill_Field
|
||||
* @author Povilas Brilius <pbrilius@gmail.com>
|
||||
* @license eupl-1.1 https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository
|
||||
* @link pbgroupeu.wordpress.com
|
||||
*/
|
||||
namespace App;
|
||||
|
||||
class GildedRoseTest extends \PHPUnit\Framework\TestCase {
|
||||
public function testFoo() {
|
||||
/**
|
||||
* Units cover up
|
||||
*
|
||||
* @category PHP_Unit
|
||||
* @package GildenRose
|
||||
* @author Povilas Brilius <pbrilius@gmail.com>
|
||||
* @license eupl-1.1 https://help.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository
|
||||
* @link pbgroupeu.wordpress.com
|
||||
*/
|
||||
class GildedRoseTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
public function testFoo()
|
||||
{
|
||||
$items = [new Item("foo", 0, 0)];
|
||||
$gildedRose = new GildedRose($items);
|
||||
$gildedRose->updateQuality();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user