Skip to content

Instantly share code, notes, and snippets.

View Tjoosten's full-sized avatar
🌏
Somewhere between home and Hogwarts School of Witchcraft and Wizardry

Tim Joosten Tjoosten

🌏
Somewhere between home and Hogwarts School of Witchcraft and Wizardry
  • Polar Youth
  • Antwerp, BE
  • 05:41 (UTC +02:00)
  • X @x0rif
View GitHub Profile
Psy Shell v0.6.1 (PHP 5.5.29 — cli) by Justin Hileman
>>> var_dump(factory(App\Verhuring::class)->make());
object(App\Verhuring)#838 (23) {
["table":protected]=>
string(7) "Verhuur"
["fillable":protected]=>
array(0) {
}
["connection":protected]=>
NULL
["original":protected]=> array(9) { ["id"]=> int(1) ["Start_Datum"]=> string(10) "1444608000" ["Eind_datum"]=> string(10) "1444780800" ["Groep"]=> string(4) "test" ["Email"]=> string(14) "test@gmail.com" ["Status"]=> int(0) ["GSM"]=> string(0) "" ["created_at"]=> string(19) "2015-12-02 13:22:25" ["updated_at"]=> string(19) "2015-12-02 13:22:25" }
<?php
Error:
1) UsermanagementTest::testChangeCredentialsFunction
InvalidArgumentException: Nothing matched the filter [name] CSS query provided for [http://localhost/backend/acl/profile/1].
Controller:
/**
<?php
register_activation_hook( __FILE__, 'db_install' );
/**
* The admin-specific functionality of the plugin.
*
* @link http://www.rientjeteen.be
* @since 1.0.0
*
<?php
// Main file:
function shortcode_init() {
require_once plugin_dir_path( __FILE__ ) . 'shortcodes/class-shortcode-form.php';
add_shortcode( 'verhuur_formulier' , 'shortcode_formulier' );
}
add_action( 'init', 'shortcode_init' );
// Theorie:
Domain Knowledge - Weighted Score
Max Points: 108
Earned Points: 100
Percentage: 92.6%
Departments {#324 ▼
#table: "departments"
#connection: null
#primaryKey: "id"
#perPage: 15
+incrementing: true
+timestamps: true
#attributes: array:6 [▶]
#original: array:6 [▶]
#relations: array:1 [▼
Collection {#323 ▼
#items: array:1 [▼
0 => User {#325 ▼
#table: "users"
#fillable: array:8 [▶]
#hidden: array:2 [▶]
#connection: null
#primaryKey: "id"
#perPage: 15
+incrementing: true
Groups Tests (4) ------------------------------------------------------------------------------------------------------
Frontend url index (frontEndRouteTakkenCest::FrontendUrlIndex) Ok
Frontend url kapoenen (frontEndRouteTakkenCest::FrontendUrlKapoenen) Ok
Frontend url welpen (frontEndRouteTakkenCest::FrontendUrlWelpen) Ok
Frontend url jong givers (frontEndRouteTakkenCest::FrontendUrlJongGivers) Ok
-----------------------------------------------------------------------------------------------------------------------
Rental Tests (6) ----------------------------------------------------------------------------------------------------------------
Submit a form without validation errors (formValidationCest::FrontendFormInsert) Ok
Submit a form with validation errors (formValidationCest::Front