Spelling check.

This commit is contained in:
Dan Schaper 2017-01-28 15:47:27 -08:00
parent 153a9d8ac7
commit 96c59fada4
No known key found for this signature in database
GPG key ID: 572E999E385B7BFC
2 changed files with 3 additions and 3 deletions

View file

@ -692,7 +692,7 @@ enable_service() {
echo " done." echo " done."
} }
update_pacakge_cache() { update_package_cache() {
#Running apt-get update/upgrade with minimal output can cause some issues with #Running apt-get update/upgrade with minimal output can cause some issues with
#requiring user input (e.g password for phpmyadmin see #218) #requiring user input (e.g password for phpmyadmin see #218)
@ -1128,7 +1128,7 @@ main() {
fi fi
# Update package cache # Update package cache
update_pacakge_cache update_package_cache
# Notify user of package availability # Notify user of package availability
notify_package_updates_available notify_package_updates_available

View file

@ -278,7 +278,7 @@ def test_update_package_cache_success_no_errors(Pihole):
''' confirms package cache was updated without any errors''' ''' confirms package cache was updated without any errors'''
updateCache = Pihole.run(''' updateCache = Pihole.run('''
source /opt/pihole/basic-install.sh source /opt/pihole/basic-install.sh
update_pacakge_cache update_package_cache
''') ''')
assert 'Updating local cache of available packages...' in updateCache.stdout assert 'Updating local cache of available packages...' in updateCache.stdout
assert 'done!' in updateCache.stdout assert 'done!' in updateCache.stdout