Skip to content

Commit 2e16b4d

Browse files
author
Petrov Yehven
authored
Merge pull request #4 from orocommerce/commerce-1.0.0-beta.3.0
Commerce 1.0.0 beta.3.0
2 parents cc48669 + 9675004 commit 2e16b4d

18 files changed

+2039
-196
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
/node_modules
66
/composer.phar
77
composer.lock
8+
behat.yml
89
/build/logs/*
910
/vendor
1011
node_modules/
1112
/cov
1213
/web/bundles
1314
/web/css
15+
/web/images
1416
/web/js
1517
/web/uploads/users/*
1618
/web/media/cache
@@ -19,6 +21,7 @@ node_modules/
1921
/app/karma.conf.js
2022
/app/config/parameters.yml
2123
/app/config/parameters_test.yml
24+
behat.yml
2225
*~
2326

2427
/app/SymfonyRequirements.php

.jscsrc

-21
This file was deleted.

.jshintignore

-4
This file was deleted.

.jshintrc

-37
This file was deleted.

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ OroCommerce can be customized and extended to fit any B2B commerce needs.
1111

1212
OroCommerce is a Symfony 2 based application with the following requirements:
1313

14-
* PHP 5.4.9 or above
15-
* PHP 5.4.9 or above with command line interface
14+
* PHP 5.5.9 or above
15+
* PHP 5.5.9 or above with command line interface
1616
* PHP Extensions
1717
* GD
1818
* Mcrypt

app/AppKernel.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class AppKernel extends OroKernel
99
public function registerBundles()
1010
{
1111
$bundles = array(
12-
// bundles
12+
// bundles
1313
);
1414

1515
if ('dev' === $this->getEnvironment()) {
@@ -22,6 +22,7 @@ public function registerBundles()
2222

2323
if ('test' === $this->getEnvironment()) {
2424
$bundles[] = new Oro\Bundle\TestFrameworkBundle\OroTestFrameworkBundle();
25+
$bundles[] = new Oro\Bundle\FrontendTestFrameworkBundle\OroFrontendTestFrameworkBundle();
2526
}
2627

2728
return array_merge(parent::registerBundles(), $bundles);

app/OroRequirements.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414
class OroRequirements extends SymfonyRequirements
1515
{
16-
const REQUIRED_PHP_VERSION = '5.4.9';
16+
const REQUIRED_PHP_VERSION = '5.5.9';
1717
const REQUIRED_GD_VERSION = '2.0';
1818
const REQUIRED_CURL_VERSION = '7.0';
1919
const REQUIRED_ICU_VERSION = '3.8';

app/cache/.gitignore

100644100755
File mode changed.

app/check.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
$symfonyRequirements = new SymfonyRequirements();
77
$iniPath = $symfonyRequirements->getPhpIniConfigPath();
88

9-
echo_title('Symfony2 Requirements Checker');
9+
echo_title('Symfony Requirements Checker');
1010

1111
echo '> PHP is using the following php.ini file:'.PHP_EOL;
1212
if ($iniPath) {
1313
echo_style('green', ' '.$iniPath);
1414
} else {
15-
echo_style('warning', ' WARNING: No configuration file (php.ini) used by PHP!');
15+
echo_style('yellow', ' WARNING: No configuration file (php.ini) used by PHP!');
1616
}
1717

1818
echo PHP_EOL.PHP_EOL;
@@ -42,9 +42,9 @@
4242
}
4343

4444
if ($checkPassed) {
45-
echo_block('success', 'OK', 'Your system is ready to run Symfony2 projects');
45+
echo_block('success', 'OK', 'Your system is ready to run Symfony projects');
4646
} else {
47-
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony2 projects');
47+
echo_block('error', 'ERROR', 'Your system is not ready to run Symfony projects');
4848

4949
echo_title('Fix the following mandatory requirements', 'red');
5050

app/config/config_test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ imports:
33
- { resource: parameters_test.yml }
44
- { resource: security_test.yml }
55

6+
parameters:
7+
doctrine.dbal.connection_factory.class: 'Oro\Component\Testing\Doctrine\PersistentConnectionFactory'
8+
69
framework:
710
test: ~
811
session:

app/config/parameters_test.yml.dist

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
database_port: ~
55
database_name: b2b_dev_test
66
database_user: root
7-
database_password: root
7+
database_password: ~
88

99
mailer_transport: smtp
1010
mailer_host: 127.0.0.1
@@ -31,4 +31,3 @@ parameters:
3131
installed: ~
3232
assets_version: ~
3333
assets_version_strategy: time_hash
34-

behat.yml.dist

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
imports:
2+
- ../../package/platform/src/Oro/Bundle/TestFrameworkBundle/Resources/config/behat.yml.dist
3+
4+
default: &default
5+
extensions:
6+
Behat\MinkExtension:
7+
base_url: 'http://dev-commerce.local/'
8+
9+
selenium2:
10+
<<: *default
11+
extensions:
12+
Behat\MinkExtension:
13+
base_url: 'http://dev-commerce.local/'

composer.json

+11-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,19 @@
1414
}
1515
},
1616
"require": {
17-
"php": ">=5.4.9",
18-
"oro/commerce": "1.0.0-beta.2"
17+
"php": ">=5.5.9",
18+
"oro/commerce": "1.0.0-beta.3"
1919
},
2020
"require-dev": {
21-
"sensio/generator-bundle": "2.5.3"
21+
"sensio/generator-bundle": "2.5.3",
22+
"behat/behat": "3.1.0",
23+
"behat/mink-extension": "^2.0",
24+
"behat/mink-selenium2-driver": "1.*",
25+
"behat/symfony2-extension": "2.1.1",
26+
"nelmio/alice": "^2.1",
27+
"phpunit/phpunit": "4.8.*",
28+
"johnkary/phpunit-speedtrap": "1.0.*",
29+
"mybuilder/phpunit-accelerator": "1.1.*"
2230
},
2331
"config": {
2432
"component-dir": "web/bundles/components"
@@ -51,7 +59,6 @@
5159
}
5260
},
5361
"repositories": [
54-
5562
{
5663
"type": "composer",
5764
"url": "https://packagist.orocrm.com"

0 commit comments

Comments
 (0)