Skip to content

Commit 080cc9f

Browse files
added a build status and am currently working through doing test cases
for #3
1 parent 9c488bc commit 080cc9f

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
Formatter Bundle
22
================
33

4-
A Laravel 4 Formatter Package based on the work done by @dberry37388 with FuelPHP's Formatter class.
4+
[![Build Status](https://travis-ci.org/SoapBox/laravel-formatter.svg?branch=master)](https://travis-ci.org/SoapBox/laravel-formatter)
5+
6+
A Laravel 4 Formatter Package based on the work done by @dberry37388 with FuelPHP's Formatter class.
57

68
This package will help you to easily convert between various formats such as XML, JSON, CSV, etc...
79

tests/FormatterTest.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
use SoapBox\Formatter\LaravelHtmlMinifyCompiler;
4+
5+
6+
class FormatterTest extends PHPUnit_Framework_TestCase {
7+
8+
/**
9+
* A basic functional test example.
10+
*
11+
* @return void
12+
*/
13+
public function testBasicExample() {
14+
$this->assertTrue(true);
15+
}
16+
17+
/*
18+
public function testFormatter() {
19+
//$formatted = SoapBox\Formatter::make('hello')=>array();
20+
//var_dump($formatted);
21+
22+
//$expected = array('hello');
23+
//$this->assertEquals($expected, $formatted);
24+
}
25+
*/
26+
27+
}

tests/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
3+
require dirname(__DIR__) . '/src/SoapBox/Formatter/Formatter.php';

0 commit comments

Comments
 (0)