Skip to content

Commit 507e5fc

Browse files
committed
fixing tests
1 parent a469490 commit 507e5fc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Swaggest JSON-schema implementation for PHP
22

3+
[![Build Status](https://travis-ci.org/swaggest/php-json-schema.svg?branch=master)](https://travis-ci.org/swaggest/php-json-schema)
4+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/swaggest/php-json-schema/badges/quality-score.png?b=spec-compliance)](https://scrutinizer-ci.com/g/swaggest/php-json-schema/?branch=spec-compliance)
5+
[![Code Climate](https://codeclimate.com/github/swaggest/php-json-schema/badges/gpa.svg)](https://codeclimate.com/github/swaggest/php-json-schema)
6+
[![Test Coverage](https://codeclimate.com/github/swaggest/php-json-schema/badges/coverage.svg)](https://codeclimate.com/github/swaggest/php-json-schema/coverage)
7+
38
High definition PHP structures with JSON-schema based validation.
49

510
## Installation

tests/src/PHPUnit/Example/ExampleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function testExample()
100100
$example->name = 'John Doe';
101101

102102
$order = new Order();
103-
$order->dateTime = (new \DateTime())->format(DATE_RFC3339);
103+
$order->dateTime = '2015-10-28T07:28:00Z';
104104
$example->orders[] = $order;
105105

106106
Example::export($example); // Exception: Required property missing: id at #->properties:orders->items[0]

0 commit comments

Comments
 (0)