Skip to content

Commit

Permalink
update codeception
Browse files Browse the repository at this point in the history
  • Loading branch information
jcheron committed Sep 9, 2021
1 parent d32d252 commit 25b9fb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 5 additions & 2 deletions src/Ubiquity/orm/traits/OrmUtilsFieldsTrait.php
Expand Up @@ -46,7 +46,7 @@ public static function getKeyFields($instance) {
if (! \is_string ( $instance )) {
$instance = \get_class ( $instance );
}
return self::getAnnotationInfo ( $instance, "#primaryKeys" );
return self::getAnnotationInfo ( $instance, '#primaryKeys' );
}

/**
Expand All @@ -68,7 +68,10 @@ public static function getKeyMembers($instance) {

public static function getFirstKey($class) {
$kf = self::getAnnotationInfo ( $class, '#primaryKeys' );
return \current ( $kf );
if($fk){
return \current ( $kf );
}
return '';
}

/**
Expand Down
7 changes: 2 additions & 5 deletions src/codeception.yml
Expand Up @@ -11,12 +11,9 @@ extensions:
coverage:
enabled: true
remote: false
c3_url: 'http://dev.local'
c3_url: 'http://dev.local/c3/'
cookie_domain: ".mysite.com"
work_dir: 'src/'
remote_context_options:
http:
timeout: 60
work_dir: '/home/scrutinizer/build/src/'

include:
- Ubiquity/*.php
Expand Down

0 comments on commit 25b9fb8

Please sign in to comment.