The test database "nterchange_test" could not be created. Could someone be testing at the same time as you? NModelTest

NModelTest

Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [408]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant CACHE_DIR - assumed 'CACHE_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_cache.php] line [33]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant SITE_WORKFLOW - assumed 'SITE_WORKFLOW'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/app/models/page.php] line [53]
Exception: test_factory_should_return_object_for_valid_table -> Unexpected PHP error [Use of undefined constant SECURE_SITE - assumed 'SECURE_SITE'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/app/models/page.php] line [60]
Exception: test_factory_should_return_false_for_invalid_table -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_factory_should_return_false_for_invalid_table -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Exception: test_factory_should_return_false_for_invalid_table -> Unexpected PHP error [Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [408]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 79]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 82]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 85]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 88]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 91]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 94]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 97]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 100]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 103]
Fail: test_getFieldType_should_return_proper_types -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 106]
Exception: test_getFieldType_should_return_proper_types -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_getFieldType_should_return_proper_types -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Exception: test_getFieldType_should_return_proper_types -> Unexpected PHP error [Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [408]
Exception: test_getFieldType_should_return_proper_types -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Fail: test_tableInfo_returns_array -> True assertion got False at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 111]
Exception: test_tableInfo_returns_array -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_tableInfo_returns_array -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Fail: test_find_should_return_two_rows -> Equal expectation fails as [NULL] does not match [Integer: 2] at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 116]
Exception: test_find_should_return_two_rows -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_find_should_return_two_rows -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Exception: test_find_should_return_two_rows -> Unexpected PHP error [Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [408]
Exception: test_find_should_return_two_rows -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Exception: test_find_should_return_two_rows -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Fail: test_find_with_id_should_return_one_row -> Equal expectation fails as [NULL] does not match [Integer: 1] at [/var/www/petrochina-canada/vendor/nterchange/test/unit/n_model_test.php line 121]
Exception: test_find_with_id_should_return_one_row -> Unexpected PHP error [Trying to get property of non-object] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/vendor/spyc.php] line [154]
Exception: test_find_with_id_should_return_one_row -> Unexpected PHP error [Undefined offset: 0] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/model/fixtures.php] line [56]
Exception: test_find_with_id_should_return_one_row -> Unexpected PHP error [Use of undefined constant ROOT_DIR - assumed 'ROOT_DIR'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [408]
Exception: test_find_with_id_should_return_one_row -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
Exception: test_find_with_id_should_return_one_row -> Unexpected PHP error [Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT'] severity [E_NOTICE] in [/var/www/petrochina-canada/vendor/nterchange/lib/n_model.php] line [992]
1/1 test cases complete: 2 passes, 13 fails and 28 exceptions.